Skip to content

Commit

Permalink
import Product from types
Browse files Browse the repository at this point in the history
  • Loading branch information
Iyzyman committed Jan 29, 2024
1 parent 7ed7ebe commit f6f782d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 43 deletions.
41 changes: 0 additions & 41 deletions apps/cms/src/@types/Product.ts

This file was deleted.

2 changes: 1 addition & 1 deletion apps/cms/src/admin/views/MerchProducts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Column } from "payload/dist/admin/components/elements/Table/types";
import { RenderCellFactory } from "../utils/RenderCellFactory";
import SortedColumn from "../utils/SortedColumn";
import { Table } from "payload/dist/admin/components/elements/Table";
import { Product } from "../../@types/Product";
import { Product } from "types";
import ProductsApi from "../../apis/products.api";

const MerchProducts: AdminView = ({ user, canAccessAdmin }) => {
Expand Down
2 changes: 1 addition & 1 deletion apps/cms/src/apis/products.api.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Product } from "../@types/Product";
import { Product } from "types";
// todo turn into real api
class ProductsApi {
// eslint-disable-next-line @typescript-eslint/require-await
Expand Down

0 comments on commit f6f782d

Please sign in to comment.