diff --git a/app/root.tsx b/app/root.tsx index 3cf661b..9d3b1e1 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -6,7 +6,8 @@ import { useRouteError, isRouteErrorResponse, json, - useLoaderData + useLoaderData, + ScrollRestoration } from "@remix-run/react"; import type { PropsWithChildren } from "react"; @@ -37,6 +38,7 @@ function Document({
{children} +