remove meta tags from _document.js

This commit is contained in:
keyan 2022-05-19 11:50:38 -05:00
parent 47392f0d7c
commit 44f59f1f34
2 changed files with 4 additions and 1 deletions

View File

@ -9,6 +9,7 @@ import { ItemActModal, ItemActProvider } from '../components/item-act'
import getApolloClient from '../lib/apollo' import getApolloClient from '../lib/apollo'
import NextNProgress from 'nextjs-progressbar' import NextNProgress from 'nextjs-progressbar'
import { PriceProvider } from '../components/price' import { PriceProvider } from '../components/price'
import Head from 'next/head'
function MyApp ({ Component, pageProps: { session, ...props } }) { function MyApp ({ Component, pageProps: { session, ...props } }) {
const client = getApolloClient() const client = getApolloClient()
@ -40,6 +41,9 @@ function MyApp ({ Component, pageProps: { session, ...props } }) {
showOnShallow showOnShallow
options={{ showSpinner: false }} options={{ showSpinner: false }}
/> />
<Head>
<meta name='viewport' content='initial-scale=1.0, width=device-width' />
</Head>
<PlausibleProvider domain='stacker.news' trackOutboundLinks> <PlausibleProvider domain='stacker.news' trackOutboundLinks>
<Provider session={session}> <Provider session={session}>
<ApolloProvider client={client}> <ApolloProvider client={client}>

View File

@ -6,7 +6,6 @@ class MyDocument extends Document {
return ( return (
<Html> <Html>
<Head> <Head>
<meta name='viewport' content='initial-scale=1.0, width=device-width' />
<link rel='apple-touch-icon' sizes='180x180' href='/apple-touch-icon.png' /> <link rel='apple-touch-icon' sizes='180x180' href='/apple-touch-icon.png' />
<link rel='manifest' href='/site.webmanifest' /> <link rel='manifest' href='/site.webmanifest' />
<link rel='preload' href={`${publicPrefix}/Lightningvolt-xoqm.ttf`} as='font' type='font/ttf' crossOrigin='' /> <link rel='preload' href={`${publicPrefix}/Lightningvolt-xoqm.ttf`} as='font' type='font/ttf' crossOrigin='' />