This commit is contained in:
oneao committed 2026-02-27 22:09:50 +08:00
1 parent 1b1a54f7dd
commit fc005e0fb4
22 files changed
+300 -193

No files matched your search

@@ -36,7 +36,7 @@ export const useNavStore = create<NavState>()(
navigateToAuth: () => {
const pathname = useNavStore.getState().pathname
if (!pathname.startsWith('/auth')) {
if (pathname !== '/auth') {
router.replace('/auth')
}
},
@@ -44,7 +44,7 @@ export const useNavStore = create<NavState>()(
}),
{
name: 'nav-storage',
// storage: createJSONStorage(() => AsyncStorage),
storage: createJSONStorage(() => AsyncStorage),
},
),
)