remove empty useEffect

This commit is contained in:
Alex Holliday committed 2024-11-28 09:48:49 +08:00
1 parent bf9199a2b7
commit ac4834aa74
1 file changed
-2
-2
View File
@@ -390,8 +390,6 @@ const Login = () => {
const [errors, setErrors] = useState({});
const [step, setStep] = useState(0);
useEffect(() => {}, [authState.isLoading]);
useEffect(() => {
if (authToken) {
navigate("/monitors");