Skip to content

Commit

Permalink
refactor: rename variable name to more descriptive name
Browse files Browse the repository at this point in the history
  • Loading branch information
getusha committed Oct 30, 2024
1 parent 6cb4ebf commit 3c7ae6d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function BaseValidateCodeForm({
* Request a validate code / magic code be sent to verify this contact method
*/
const resendValidateCode = () => {
if (hasMagicCodeBeenSent && !isResend) {
if (hasMagicCodeBeenSent && !isResent) {
return;
}

Expand Down Expand Up @@ -231,7 +231,7 @@ function BaseValidateCodeForm({
style={[styles.mr1]}
onPress={() => {
resendValidateCode();
setIsResend(true);
setIsResent(true);
}}
underlayColor={theme.componentBG}
hoverDimmingValue={1}
Expand Down

0 comments on commit 3c7ae6d

Please sign in to comment.