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 (
|
||||
<html lang="en" className={inter.className} suppressHydrationWarning>
|
||||
<body className="flex flex-col min-h-screen">
|
||||
<RootProvider>{children}</RootProvider>
|
||||
<Script
|
||||
src="https://mk-analytics.dathere.com/api/script.js"
|
||||
data-site-id="10"
|
||||
strategy="afterInteractive"
|
||||
/>
|
||||
<RootProvider>
|
||||
{children}
|
||||
<Script
|
||||
src="https://mk-analytics.dathere.com/api/script.js"
|
||||
data-site-id="10"
|
||||
strategy="afterInteractive"
|
||||
/>
|
||||
</RootProvider>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue