Skip to content

Commit

Permalink
fix useEffect missing dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
roxylius committed Dec 10, 2024
1 parent 00af544 commit fd63dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/views/auth/signIn/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function SignIn() {
if (quickLoginRole) {
handleSubmit({ preventDefault: () => {} });
}
}, []);
}, [quickLoginRole,handleSubmit]);

const textColor = useColorModeValue('navy.700', 'white');
const textColorSecondary = 'gray.400';
Expand Down

0 comments on commit fd63dbf

Please sign in to comment.