Skip to content

Commit b330748

Browse files
committed
fix: hydration issues due to external script
1 parent cc705d4 commit b330748

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,6 @@
5454
"standard-version": "^9.5.0",
5555
"tailwindcss": "^3.4.1",
5656
"typescript": "^5"
57-
}
57+
},
58+
"packageManager": "pnpm@9.12.2+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228"
5859
}

src/app/layout.tsx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,16 @@ export default function RootLayout({
5757
'font-sans max-w-screen-md mx-auto p-4 w-full px-6'
5858
)}
5959
>
60+
<head>
61+
<Script
62+
defer
63+
src='https://analytics.reynadi.com/script.js'
64+
strategy='beforeInteractive'
65+
data-website-id='161288d3-c258-4064-8e33-97a87b56248a'
66+
data-domains='reynadi.com'
67+
/>
68+
</head>
6069
<body>{children}</body>
61-
<Script
62-
defer
63-
src='https://analytics.reynadi.com/script.js'
64-
strategy='beforeInteractive'
65-
data-website-id='161288d3-c258-4064-8e33-97a87b56248a'
66-
data-domains='reynadi.com'
67-
/>
6870
</html>
6971
</>
7072
);

0 commit comments

Comments
 (0)