From 81124a6aad1e740249fcfd80d14728aefe02818f Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Thu, 11 Dec 2025 22:45:38 +0200 Subject: [PATCH] allow resending immediately --- src/components/contacts/state.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/contacts/state.ts b/src/components/contacts/state.ts index b2e4cf8837..6488849cf1 100644 --- a/src/components/contacts/state.ts +++ b/src/components/contacts/state.ts @@ -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': {