Skip to content

Commit 8a28440

Browse files
authored
Update SingleProduct.component.tsx
1 parent 0672f20 commit 8a28440

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

src/components/Product/SingleProduct.component.tsx

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -160,29 +160,3 @@ const SingleProduct = ({ product }: IProductRootObject) => {
160160
};
161161

162162
export default SingleProduct;
163-
164-
// Types (if needed separately)
165-
interface IProduct {
166-
id: string;
167-
databaseId: number;
168-
name: string;
169-
description: string;
170-
price: string;
171-
regularPrice: string;
172-
salePrice: string;
173-
onSale: boolean;
174-
image: {
175-
sourceUrl: string;
176-
};
177-
stockQuantity: number;
178-
variations?: {
179-
nodes: Array<{
180-
id: string;
181-
databaseId: number;
182-
name: string;
183-
stockQuantity: number;
184-
}>;
185-
};
186-
}
187-
188-

0 commit comments

Comments
 (0)