refactor: remove next/head

This commit is contained in:
DIYgod 2023-05-08 23:26:45 +01:00
parent 8d32961f0e
commit b1d097b786
No known key found for this signature in database
1 changed files with 4 additions and 7 deletions

View File

@ -1,5 +1,4 @@
import { TFunction } from "i18next"
import Head from "next/head"
import serialize from "serialize-javascript"
import { PageContent } from "~/components/common/PageContent"
@ -45,12 +44,10 @@ export function SitePage({
return (
<>
<Head>
<script
type="application/ld+json"
dangerouslySetInnerHTML={addPageJsonLd()}
/>
</Head>
<script
type="application/ld+json"
dangerouslySetInnerHTML={addPageJsonLd()}
/>
{preview && (
<div className="fixed top-0 left-0 w-full text-center text-red-500 bg-gray-100 py-2 opacity-80 text-sm z-10">
{t(