Commit ea0d4b9 1 parent d723a40 commit ea0d4b9 Copy full SHA for ea0d4b9
File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ export function cn(...inputs: ClassValue[]) {
7
7
8
8
export function isLoveApp ( ) {
9
9
// 💖-> %F0%9F%92%96
10
- return window . location . pathname . includes ( '%F0%9F%92%96' ) ;
10
+ return window . location . pathname . includes ( '/love/ %F0%9F%92%96' ) ;
11
11
}
Original file line number Diff line number Diff line change 1
1
import { QueryClient } from '@tanstack/react-query' ;
2
- import { createRouter } from '@tanstack/react-router' ;
2
+ import { createMemoryHistory , createRouter } from '@tanstack/react-router' ;
3
3
4
4
import { routeTree } from './routeTree.gen' ;
5
5
6
6
// Create a new router instance
7
7
8
8
const queryClient = new QueryClient ( ) ;
9
9
10
+ const memoryHistory = createMemoryHistory ( {
11
+ initialEntries : [ '/proposal-manager/' ] ,
12
+ } ) ;
13
+
10
14
const router = createRouter ( {
11
15
routeTree,
16
+ history : memoryHistory ,
12
17
context : {
13
18
queryClient,
14
19
} ,
You can’t perform that action at this time.
0 commit comments