Skip to content

Commit

Permalink
Update import and add script tag to head
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Chiang committed Apr 29, 2022
1 parent 5420144 commit 2fa0e7d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ import {
Outlet,
Scripts,
ScrollRestoration,
useLoaderData,
useLocation,
} from "@remix-run/react";
import { useEffect } from "react";

import { getUser } from "./session.server";
import { gtag } from "./__utils__";

export const links: LinksFunction = () => {
return [];
Expand Down Expand Up @@ -80,6 +84,7 @@ export default function App() {
<head>
<Meta />
<Links />
{gtagScript}
</head>
<body className="h-full">
<Outlet />
Expand Down

0 comments on commit 2fa0e7d

Please sign in to comment.