Skip to content

Commit

Permalink
Added eslint rule exception
Browse files Browse the repository at this point in the history
  • Loading branch information
alitoshmatov committed Sep 10, 2023
1 parent 3100209 commit 0e1107a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/signin/ValidateCodeForm/BaseValidateCodeForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ function BaseValidateCodeForm(props) {
return;
}
clearLocalSignInData();
// `clearLocalSignInData` is not required as a dependency, and adding it
// overcomplicates things requiring clearLocalSignInData function to use useCallback
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [isLoadingResendValidationForm]);

/**
Expand Down

0 comments on commit 0e1107a

Please sign in to comment.