From 4bd5afcdda2be422c1358e0924cceb8d0e93bc97 Mon Sep 17 00:00:00 2001 From: Alex Anderson Date: Thu, 9 Jan 2025 15:01:01 -0700 Subject: [PATCH] Add analytics script --- app/root.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/root.tsx b/app/root.tsx index 9a997d7..2453ff3 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -37,7 +37,7 @@ type LoaderData = { }; export const loader: LoaderFunction = async ({ request }) => { - let session = await getSession(request); + const session = await getSession(request); const toast = session.get("toast"); const error = session.get("error"); return json( @@ -91,6 +91,13 @@ export default function App() { + + );