Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
WikusKriek committed Aug 17, 2023
1 parent bdd696b commit 3f1f7a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function BaseValidateCodeForm(props) {
return;
}
User.clearContactMethodErrors(props.contactMethod, 'validateLogin');

// contactMethod is not added as a dependency since it does not change between renders
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

Expand Down

0 comments on commit 3f1f7a6

Please sign in to comment.