Skip to content

Commit fbc4ad3

Browse files
committed
fix uwu script
1 parent 07a6965 commit fbc4ad3

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/app/layout.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {siteConfig} from '../siteConfig';
2-
import Script from 'next/script';
2+
33
import {Analytics} from 'components/Analytics';
44
import {ScrollHandler} from 'components/SafariScrollHandler';
55

@@ -32,9 +32,8 @@ export const viewport = {
3232

3333
function ThemeScript() {
3434
return (
35-
<Script
35+
<script
3636
id="theme-script"
37-
strategy="beforeInteractive"
3837
dangerouslySetInnerHTML={{
3938
__html: `
4039
(function () {
@@ -88,9 +87,8 @@ function ThemeScript() {
8887

8988
function UwuScript() {
9089
return (
91-
<Script
90+
<script
9291
id="uwu-script"
93-
strategy="beforeInteractive"
9492
dangerouslySetInnerHTML={{
9593
__html: `
9694
(function () {

0 commit comments

Comments
 (0)