mirror of
https://github.com/dathere/ckanaction.git
synced 2025-11-09 14:19:49 +00:00
chore(docs): attempt putting script within RootProvider
This commit is contained in:
parent
663f208a4a
commit
b0f2d3e8de
1 changed files with 8 additions and 6 deletions
|
|
@ -11,12 +11,14 @@ export default function Layout({ children }: LayoutProps<"/">) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" className={inter.className} suppressHydrationWarning>
|
<html lang="en" className={inter.className} suppressHydrationWarning>
|
||||||
<body className="flex flex-col min-h-screen">
|
<body className="flex flex-col min-h-screen">
|
||||||
<RootProvider>{children}</RootProvider>
|
<RootProvider>
|
||||||
|
{children}
|
||||||
<Script
|
<Script
|
||||||
src="https://mk-analytics.dathere.com/api/script.js"
|
src="https://mk-analytics.dathere.com/api/script.js"
|
||||||
data-site-id="10"
|
data-site-id="10"
|
||||||
strategy="afterInteractive"
|
strategy="afterInteractive"
|
||||||
/>
|
/>
|
||||||
|
</RootProvider>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue