diff --git a/app/routes/analyzer.tsx b/app/routes/analyzer.tsx index 3cb33c012..b9b0bc035 100644 --- a/app/routes/analyzer.tsx +++ b/app/routes/analyzer.tsx @@ -1,4 +1,5 @@ import { type LinksFunction, type MetaFunction } from "@remix-run/node"; +import type { ShouldReloadFunction } from "@remix-run/react"; import { Link } from "@remix-run/react"; import * as React from "react"; import { useTranslation } from "~/hooks/useTranslation"; @@ -65,6 +66,9 @@ export const handle: SendouRouteHandle = { navItemName: "analyzer", }; +// Resolves this Github issue: https://github.com/Sendouc/sendou.ink/issues/1053 +export const unstable_shouldReload: ShouldReloadFunction = () => false; + export default function BuildAnalyzerPage() { const { t } = useTranslation(["analyzer", "common", "weapons"]); useSetTitle(t("common:pages.analyzer"));