fix: resolves #2949, remove route preloading

This commit is contained in:
Amruth Pillai
2026-05-07 22:46:32 +02:00
parent 36a16f6483
commit 524a7a6f4e
2 changed files with 3 additions and 4 deletions
-1
View File
@@ -25,7 +25,6 @@ export const getRouter = async () => {
const router = createRouter({
routeTree,
scrollRestoration: true,
defaultPreload: "intent",
defaultViewTransition: true,
defaultStructuralSharing: true,
defaultErrorComponent: ErrorScreen,
@@ -18,9 +18,9 @@ export function PreviewPage() {
<div className="fixed inset-0">
<TransformWrapper
centerOnInit
maxScale={6}
minScale={0.3}
initialScale={0.6}
maxScale={5}
minScale={0.5}
initialScale={0.75}
limitToBounds={false}
wheel={{ step: 0.001 }}
>