fix(fs.dev): Load script the NextJS way
This commit is contained in:
parent
38132df519
commit
bb6bae13f2
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ import useApp from 'site/hooks/useApp.js'
|
|||
import Head from 'next/head'
|
||||
import HelpUs from 'site/components/help-us.js'
|
||||
import Link from 'next/link'
|
||||
import Script from 'next/script'
|
||||
|
||||
const HomePage = (props) => {
|
||||
const app = useApp()
|
||||
|
@ -20,7 +21,7 @@ const HomePage = (props) => {
|
|||
<meta property="og:url" content="https://freesewing.dev/" key='url' />
|
||||
<meta property="og:locale" content="en_US" key='locale' />
|
||||
<meta property="og:site_name" content="freesewing.dev" key='site' />
|
||||
<script src="/sw.js" />
|
||||
<Script src="/sw.js"></Script>
|
||||
</Head>
|
||||
<div className="max-w-screen-md">
|
||||
<p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue