File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { createRouter } from "@tanstack/react-router" ;
2- import { sharedConsoleRouterOptions } from "@executor-js/react/console-router-options" ;
32import { routeTree } from "./routeTree.gen" ;
43
54export const getRouter = ( ) => {
65 return createRouter ( {
76 routeTree,
8- ...sharedConsoleRouterOptions ,
7+ scrollRestoration : true ,
8+ defaultPreloadStaleTime : 0 ,
99 } ) ;
1010} ;
Original file line number Diff line number Diff line change 11import { createRouter } from "@tanstack/react-router" ;
2- import { sharedConsoleRouterOptions } from "@executor-js/react/console-router-options" ;
32
43import { routeTree } from "./routeTree.gen" ;
54
65export const getRouter = ( ) =>
76 createRouter ( {
87 routeTree,
9- ...sharedConsoleRouterOptions ,
8+ scrollRestoration : true ,
9+ defaultPreloadStaleTime : 0 ,
1010 } ) ;
Original file line number Diff line number Diff line change 11import { createRouter } from "@tanstack/react-router" ;
2- import { sharedConsoleRouterOptions } from "@executor-js/react/console-router-options" ;
32
43import { routeTree } from "./routeTree.gen" ;
54
65export const getRouter = ( ) =>
76 createRouter ( {
87 routeTree,
9- ...sharedConsoleRouterOptions ,
8+ scrollRestoration : true ,
9+ defaultPreloadStaleTime : 0 ,
1010 } ) ;
Original file line number Diff line number Diff line change 11import { createRouter } from "@tanstack/react-router" ;
2- import { sharedConsoleRouterOptions } from "@executor-js/react/console-router-options" ;
32import { routeTree } from "./routeTree.gen" ;
43
54export const getRouter = ( ) => {
65 return createRouter ( {
76 routeTree,
8- ...sharedConsoleRouterOptions ,
7+ scrollRestoration : true ,
8+ defaultPreloadStaleTime : 0 ,
99 } ) ;
1010} ;
Original file line number Diff line number Diff line change 99 "bun" : " ./src/console-routes.ts" ,
1010 "default" : " ./dist/console-routes.js"
1111 },
12- "./console-router-options" : " ./src/console-router-options.ts" ,
1312 "./api/oauth-popup" : " ./src/api/oauth-popup.ts" ,
1413 "./api/shell-host" : " ./src/api/shell-host.ts" ,
1514 "./api/*" : " ./src/api/*.tsx" ,
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments