reset hasWarned state on edit
This commit is contained in:
@@ -174,6 +174,9 @@ export function StepInfo({
|
||||
testID="emailInput"
|
||||
onChangeText={value => {
|
||||
emailValueRef.current = value.trim()
|
||||
if (hasWarnedEmail) {
|
||||
setHasWarnedEmail(false)
|
||||
}
|
||||
}}
|
||||
label={_(msg`Enter your email address`)}
|
||||
defaultValue={state.email}
|
||||
|
||||
Reference in New Issue
Block a user