Skip to content

Commit

Permalink
Update SingleProduct.component.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
w3bdesign authored Oct 23, 2024
1 parent 0672f20 commit 8a28440
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions src/components/Product/SingleProduct.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,29 +160,3 @@ const SingleProduct = ({ product }: IProductRootObject) => {
};

export default SingleProduct;

// Types (if needed separately)
interface IProduct {
id: string;
databaseId: number;
name: string;
description: string;
price: string;
regularPrice: string;
salePrice: string;
onSale: boolean;
image: {
sourceUrl: string;
};
stockQuantity: number;
variations?: {
nodes: Array<{
id: string;
databaseId: number;
name: string;
stockQuantity: number;
}>;
};
}


0 comments on commit 8a28440

Please sign in to comment.