allow resending immediately

This commit is contained in:
Samuel Newman
2025-12-11 22:45:38 +02:00
parent 300222a071
commit 81124a6aad
+2 -2
View File
@@ -17,7 +17,7 @@ export type State =
step: '2: verify number'
phoneCountryCode: CountryCode
phoneNumber: string
lastSentAt: Date
lastSentAt: Date | null
}
| {
step: '3: get contacts'
@@ -89,7 +89,7 @@ function reducer(state: State, action: Action): State {
return {
step: '2: verify number',
...action.payload,
lastSentAt: new Date(),
lastSentAt: null,
}
}
case 'RESEND_VERIFICATION_CODE': {