We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0672f20 commit 8a28440Copy full SHA for 8a28440
src/components/Product/SingleProduct.component.tsx
@@ -160,29 +160,3 @@ const SingleProduct = ({ product }: IProductRootObject) => {
160
};
161
162
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
181
182
183
184
- }>;
185
186
-}
187
188
0 commit comments