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': {