Skip to content

Commit 5da1812

Browse files
committed
fix: remove not exist import type
1 parent bee95dc commit 5da1812

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/ProductsList/ProductsList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { GetAllVariableProductsQuery } from '@/graphql/types/graphql';
1+
import { GetAllProductsQuery } from '@/graphql/types/graphql';
22
import { Grid } from '@mui/material';
33
import { FC } from 'react';
44
import { VariableProductItem } from '../VariableProductItem';
55
import NotFoundItem from '../common/NotFoundItem';
66

77
export interface ProductsListProps {
8-
items?: NonNullable<GetAllVariableProductsQuery['products']>['nodes'];
8+
items?: NonNullable<GetAllProductsQuery['products']>['nodes'];
99
}
1010
const ProductsList: FC<ProductsListProps> = ({ items }) => {
1111
if (!items?.length) {

0 commit comments

Comments
 (0)