diff --git a/app/root.tsx b/app/root.tsx index 13ddf5ee5..c78cd5cbe 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -5,6 +5,7 @@ import type { MetaFunction, } from "@remix-run/node"; import { json } from "@remix-run/node"; +import type { ShouldReloadFunction } from "@remix-run/react"; import { Links, LiveReload, @@ -21,6 +22,8 @@ import commonStyles from "~/styles/common.css"; import { Layout } from "./components/layout"; import type { LoggedInUser } from "./core/DiscordStrategy.server"; +export const unstable_shouldReload: ShouldReloadFunction = () => false; + export const links: LinksFunction = () => { return [ { rel: "stylesheet", href: resetStyles },