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 bee95dc commit 5da1812Copy full SHA for 5da1812
src/components/ProductsList/ProductsList.tsx
@@ -1,11 +1,11 @@
1
-import { GetAllVariableProductsQuery } from '@/graphql/types/graphql';
+import { GetAllProductsQuery } from '@/graphql/types/graphql';
2
import { Grid } from '@mui/material';
3
import { FC } from 'react';
4
import { VariableProductItem } from '../VariableProductItem';
5
import NotFoundItem from '../common/NotFoundItem';
6
7
export interface ProductsListProps {
8
- items?: NonNullable<GetAllVariableProductsQuery['products']>['nodes'];
+ items?: NonNullable<GetAllProductsQuery['products']>['nodes'];
9
}
10
const ProductsList: FC<ProductsListProps> = ({ items }) => {
11
if (!items?.length) {
0 commit comments