Skip to content

Commit

Permalink
Update layout.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Nov 21, 2024
1 parent 39ca0bc commit dd6f380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next-canary/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const THEME_QUERY = defineQuery(`*[_id == "theme"][0]{background,text}`)
export async function generateViewport(): Promise<Viewport> {
const {data} = await sanityFetch({query: THEME_QUERY})
return {
themeColor: data?.background,
// themeColor: data?.background,
}
}

Expand Down

0 comments on commit dd6f380

Please sign in to comment.