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