From ddd4631ade9a6c980cac3ffc78074e486e756951 Mon Sep 17 00:00:00 2001 From: Luis Alvarez Date: Thu, 10 Jun 2021 01:52:09 -0500 Subject: [PATCH] Exclude prop --- pages/index.tsx | 3 ++- tsconfig.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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"],