* Fix typo (#135)

The defaultPageProps object had a typo in the name

Co-authored-by: B <curciobelen@gmail.com>

* changes

* changes

Co-authored-by: JD <jonathan.dawber@icloud.com>
This commit is contained in:
B
2021-01-09 12:36:48 -03:00
committed by GitHub
parent 66b8bdb6bb
commit 8698794c96
4 changed files with 8 additions and 14 deletions

View File

@@ -6,7 +6,7 @@ import { Layout } from '@components/common'
import { Heart } from '@components/icons'
import { Text, Container } from '@components/ui'
import { WishlistCard } from '@components/wishlist'
import { defatultPageProps } from '@lib/defaults'
import { defaultPageProps } from '@lib/defaults'
export async function getStaticProps({
preview,
@@ -15,7 +15,7 @@ export async function getStaticProps({
const config = getConfig({ locale })
const { pages } = await getAllPages({ config, preview })
return {
props: { ...defatultPageProps, pages },
props: { ...defaultPageProps, pages },
}
}