chore: move meta viewport back to app after next warning
This commit is contained in:
parent
d5fef8729a
commit
71c419a818
@ -47,6 +47,10 @@ function AppBody({ Component }: AppProps) {
|
||||
|
||||
return (
|
||||
<ThemeContext.Provider value={theme}>
|
||||
<Head>
|
||||
{/* Cannot use meta tags in _document.page.tsx see https://nextjs.org/docs/messages/no-document-viewport-meta */}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
</Head>
|
||||
<Title />
|
||||
<div className="h-full relative dark:bg-black dark:text-white z-0 grid grid-rows-[min-content,1fr,min-content]">
|
||||
<AppLoader>
|
||||
|
@ -4,7 +4,6 @@ export default function Document() {
|
||||
return (
|
||||
<Html>
|
||||
<Head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="stylesheet" href="https://static.vega.xyz/fonts.css" />
|
||||
<link
|
||||
rel="preload"
|
||||
|
Loading…
Reference in New Issue
Block a user