diff --git a/pages/index.tsx b/pages/index.tsx index c89c02ce6..f0f046ef6 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,5 +1,5 @@ import { GetStaticPropsContext, InferGetStaticPropsType } from 'next' -import getAllProducts from '@lib/bigcommerce/api/operations/get-all-products' +import getAllProducts from '../lib/bigcommerce/api/operations/get-all-products' import { Layout } from '@components/core' import { ProductGrid } from '@components/product' diff --git a/pages/product/[slug].tsx b/pages/product/[slug].tsx index 295fc65a8..9d858cc8a 100644 --- a/pages/product/[slug].tsx +++ b/pages/product/[slug].tsx @@ -1,9 +1,9 @@ import { GetStaticPropsContext, InferGetStaticPropsType } from 'next' import { useRouter } from 'next/router' -import getProduct from 'lib/bigcommerce/api/operations/get-product' +import getProduct from '../../lib/bigcommerce/api/operations/get-product' import { Layout } from '@components/core' import { ProductView } from '@components/product' -import getAllProductPaths from '@lib/bigcommerce/api/operations/get-all-product-paths' +import getAllProductPaths from '../../lib/bigcommerce/api/operations/get-all-product-paths' export async function getStaticProps({ params,