File tree Expand file tree Collapse file tree 4 files changed +22
-2
lines changed Expand file tree Collapse file tree 4 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import { routeTree } from "./routeTree.gen";
1313// Create a new router instance
1414export const router = createRouter ( {
1515 routeTree,
16+ scrollRestoration : true ,
1617 basepath : config . root ,
1718 defaultPendingComponent : LoadingScreen ,
1819 defaultPreload : "intent" ,
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
99import {
1010 type ErrorRouteComponent ,
1111 Outlet ,
12- ScrollRestoration ,
1312 createRootRouteWithContext ,
1413} from "@tanstack/react-router" ;
1514import { TanStackRouterDevtools } from "@tanstack/router-devtools" ;
@@ -28,7 +27,6 @@ export const Route = createRootRouteWithContext<{
2827} > ( ) ( {
2928 component : ( ) => (
3029 < >
31- < ScrollRestoration />
3230 < Outlet />
3331
3432 { import . meta. env . DEV &&
Original file line number Diff line number Diff line change @@ -48,6 +48,9 @@ exports[`Reset cross signing > renders the cancelled page 1`] = `
4848 </p >
4949 </div >
5050 </div >
51+ <script >
52+
53+ </script >
5154</DocumentFragment >
5255` ;
5356
@@ -234,6 +237,9 @@ exports[`Reset cross signing > renders the deep link page 1`] = `
234237 </p >
235238 </footer >
236239 </div >
240+ <script >
241+
242+ </script >
237243</DocumentFragment >
238244` ;
239245
@@ -322,6 +328,9 @@ exports[`Reset cross signing > renders the errored page 1`] = `
322328 </p >
323329 </footer >
324330 </div >
331+ <script >
332+
333+ </script >
325334</DocumentFragment >
326335` ;
327336
@@ -508,6 +517,9 @@ exports[`Reset cross signing > renders the page 1`] = `
508517 </p >
509518 </footer >
510519 </div >
520+ <script >
521+
522+ </script >
511523</DocumentFragment >
512524` ;
513525
@@ -554,6 +566,9 @@ exports[`Reset cross signing > renders the success page 1`] = `
554566 </p >
555567 </div >
556568 </div >
569+ <script >
570+
571+ </script >
557572</DocumentFragment >
558573` ;
559574
@@ -600,5 +615,8 @@ exports[`Reset cross signing > renders the success page 2`] = `
600615 </p >
601616 </div >
602617 </div >
618+ <script >
619+
620+ </script >
603621</DocumentFragment >
604622` ;
Original file line number Diff line number Diff line change @@ -736,5 +736,8 @@ exports[`Account home page > renders the page 1`] = `
736736 </p >
737737 </footer >
738738 </div >
739+ <script >
740+
741+ </script >
739742</DocumentFragment >
740743` ;
You can’t perform that action at this time.
0 commit comments