remove empty useEffect
This commit is contained in:
1 parent
bf9199a2b7
commit
ac4834aa74
1 file changed
-2
@@ -390,8 +390,6 @@ const Login = () => {
|
|||||||
const [errors, setErrors] = useState({});
|
const [errors, setErrors] = useState({});
|
||||||
const [step, setStep] = useState(0);
|
const [step, setStep] = useState(0);
|
||||||
|
|
||||||
useEffect(() => {}, [authState.isLoading]);
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (authToken) {
|
if (authToken) {
|
||||||
navigate("/monitors");
|
navigate("/monitors");
|
||||||
|
|||||||
Reference in new issue
Block a user