mirror of
https://github.com/vercel/commerce.git
synced 2025-04-04 10:45:54 +00:00
Adding tyni typing
This commit is contained in:
parent
19db5a7e1d
commit
05501c6f99
@ -41,6 +41,7 @@ const FeatureBar = dynamic(
|
|||||||
interface Props {
|
interface Props {
|
||||||
pageProps: {
|
pageProps: {
|
||||||
pages?: Page[]
|
pages?: Page[]
|
||||||
|
commerceFeatures: Record<string, boolean>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -48,7 +49,6 @@ const Layout: FC<Props> = ({
|
|||||||
children,
|
children,
|
||||||
pageProps: { commerceFeatures, ...pageProps },
|
pageProps: { commerceFeatures, ...pageProps },
|
||||||
}) => {
|
}) => {
|
||||||
console.log(pageProps)
|
|
||||||
const {
|
const {
|
||||||
displaySidebar,
|
displaySidebar,
|
||||||
displayModal,
|
displayModal,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user