mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-29 14:50:13 -05:00
Don't reload root loader
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user