Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Refactor layout component to improve script inclusion formatting

Bill Yang2137a7e26316
diff --git a/docs/src/app/layout.tsx b/docs/src/app/layout.tsx
index 87d9be443..11e77cf9c 100644
--- a/docs/src/app/layout.tsx
+++ b/docs/src/app/layout.tsx
@@ -76,7 +76,11 @@ export default function Layout({ children }: { children: ReactNode }) {
return (
<html lang="en" suppressHydrationWarning>
<Script src="https://demo.rybbit.com/api/script.js" data-site-id="21" />
- <Script src="https://demo.rybbit.com/api/script.js?ns=demo" data-site-id="13b023d1a7895" data-namespace="rybbit_demo" />
+ <Script
+ src="https://demo.rybbit.com/api/script.js?ns=demo"
+ data-site-id="3b023d1a7895"
+ data-namespace="rybbit_demo"
+ />
<body className={`flex flex-col min-h-screen ${inter.variable} font-sans`}>
<RootProvider
theme={{