修复小警告

This commit is contained in:
sijinhui 2024-03-21 14:10:02 +08:00
parent b8d8b8353f
commit 202cb7b947

View File

@ -73,7 +73,7 @@ const SideBar: React.FC = () => {
if (current != pathname) { if (current != pathname) {
router.push(current); router.push(current);
} }
}, []); }, [current, pathname, router]);
// useEffect(() => { // useEffect(() => {
// const handleStart = () => setLoading(true) // const handleStart = () => setLoading(true)
// const handleComplete = () => setLoading(false); // const handleComplete = () => setLoading(false);