fix: improve navigate (#3420)

This commit is contained in:
Alex Yang
2023-07-27 11:06:30 -07:00
committed by GitHub
parent 115f46a4fa
commit b47fbde479
7 changed files with 49 additions and 46 deletions
+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';