diff --git a/pages/index.tsx b/pages/index.tsx index 3f1b6502a..c4f453803 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -15,7 +15,8 @@ export async function getStaticProps({ variables: { first: 12 }, config, preview, - featured: true + // Saleor provider only + ...({ featured: true } as any), }) const { categories, brands } = await commerce.getSiteInfo({ config, preview }) const { pages } = await commerce.getAllPages({ config, preview }) diff --git a/tsconfig.json b/tsconfig.json index ba333b642..96e4359e5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,8 +22,8 @@ "@components/*": ["components/*"], "@commerce": ["framework/commerce"], "@commerce/*": ["framework/commerce/*"], - "@framework": ["framework/saleor"], - "@framework/*": ["framework/saleor/*"] + "@framework": ["framework/shopify"], + "@framework/*": ["framework/shopify/*"] } }, "include": ["next-env.d.ts", "**/*.d.ts", "**/*.ts", "**/*.tsx", "**/*.js"],