We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c69def commit 6b6cf0bCopy full SHA for 6b6cf0b
src/pages/[...slug].tsx
@@ -68,11 +68,6 @@ function Page(props: Props) {
68
const { locale } = useSession()
69
const searchParams = useSearchParams(props)
70
71
- // No data was found
72
- if (serverData === null) {
73
- return null
74
- }
75
-
76
const { collection } = serverData
77
const { page } = searchParams
78
const title = collection?.seo.title ?? site?.siteMetadata?.title ?? ''
src/pages/[slug]/p.tsx
@@ -33,11 +33,6 @@ function Page(props: Props) {
33
serverData,
34
} = props
35
36
37
38
39
40
41
const {
42
product,
43
product: { seo },
0 commit comments