Adding tyni typing

This commit is contained in:
okbel 2021-02-18 13:26:47 -03:00
parent 19db5a7e1d
commit 05501c6f99

View File

@ -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,