fix: improve navigate (#3420)

This commit is contained in:
Alex Yang authored and GitHub committed 2023-07-27 18:06:30 +00:00
1 parent 115f46a4fa
commit b47fbde479
7 files changed
+49 -46

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
import { useAtom } from 'jotai';
import { atomWithStorage, createJSONStorage } from 'jotai/utils';
import { useCallback } from 'react';
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
import { useNavigate } from 'react-router-dom';
import { router } from '../router';