summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-03-02 10:34:23 +0100
committerMaze Winther <mazewinther@gmail.com>2026-03-02 10:34:23 +0100
commitfeaeec8dbe941aba94983dea0738fc2ad6704770 (patch)
treecf8f7433d5c977a4e108cfcf7d330689d8b9654a
parent3b74cddbfba72b0205f871634ea82ded9db63698 (diff)
downloadopencut-feaeec8dbe941aba94983dea0738fc2ad6704770.tar.gz
feat: add react-scan
-rw-r--r--apps/web/src/app/layout.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx
index 2b3d0c30..4deaa127 100644
--- a/apps/web/src/app/layout.tsx
+++ b/apps/web/src/app/layout.tsx
@@ -28,6 +28,11 @@ export default function RootLayout({
<html lang="en" suppressHydrationWarning>
<head>
<BotIdClient protect={protectedRoutes} />
+ <Script
+ src="//unpkg.com/react-scan/dist/auto.global.js"
+ crossOrigin="anonymous"
+ strategy="beforeInteractive"
+ />
</head>
<body className={`${siteFont.className} font-sans antialiased`}>
<ThemeProvider