Remove redundant check
This commit is contained in:
@@ -32,13 +32,7 @@ export function shouldRequestEmailConfirmation(account: SessionAccount) {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
// snoozed recently
|
// snooze and re-prompt
|
||||||
if (snoozedAt !== today) {
|
|
||||||
snoozeEmailConfirmationPrompt()
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
|
|
||||||
// should never happen
|
|
||||||
snoozeEmailConfirmationPrompt()
|
snoozeEmailConfirmationPrompt()
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user