import from @bigcommerce/storefront-data-hooks

This commit is contained in:
luc
2020-10-27 03:02:27 +01:00
parent 7f8ed4f0b7
commit 86ee3cce21
29 changed files with 53 additions and 53 deletions

View File

@@ -1,7 +1,7 @@
import { GetStaticPropsContext, InferGetStaticPropsType } from 'next'
import getSlug from '@utils/get-slug'
import getPage from '@bigcommerce/storefront-data-hooks/dist/api/operations/get-page'
import getAllPages from '@bigcommerce/storefront-data-hooks/dist/api/operations/get-all-pages'
import getPage from '@bigcommerce/storefront-data-hooks/api/operations/get-page'
import getAllPages from '@bigcommerce/storefront-data-hooks/api/operations/get-all-pages'
import { Layout, HTMLContent } from '@components/core'
export async function getStaticProps({