Skip to content

Commit

Permalink
Move Analytics component to render after the loading suspense and cle…
Browse files Browse the repository at this point in the history
…an up script placement
  • Loading branch information
alvinsjoy committed Nov 21, 2024
1 parent fabc5ca commit c0e242e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/(root)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ export default function RootLayout({
</main>
<Bottombar />
<Toaster />
<script
defer
src="https://cloud.umami.is/script.js"
data-website-id="fc9e67af-05d7-4851-a66e-e07b2a3bb30c"
></script>
<Analytics />
</Suspense>
<script
defer
src="https://cloud.umami.is/script.js"
data-website-id="fc9e67af-05d7-4851-a66e-e07b2a3bb30c"
></script>
</body>
</html>
<Analytics />
</ClerkProvider>
);
}

0 comments on commit c0e242e

Please sign in to comment.