Skip to content

Commit

Permalink
fix: convert otp blocked to minutes
Browse files Browse the repository at this point in the history
Signed-off-by: Bunsy <[email protected]>
  • Loading branch information
bunsyy committed Jan 26, 2024
1 parent d7b190a commit b3f4515
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions signup-ui/src/components/resend-attempt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface ResendAttemptProps {
export const ResendAttempt = ({
currentAttempts,
totalAttempts,
attemptRetryAfter = 5,
attemptRetryAfter = 300,
}: ResendAttemptProps) => {
const { t } = useTranslation();
return (
Expand All @@ -19,7 +19,7 @@ export const ResendAttempt = ({
{t("attempts_left", {
attemptLeft: currentAttempts,
totalAttempt: totalAttempts,
attemptRetryAfter: attemptRetryAfter,
attemptRetryAfter: attemptRetryAfter / 60,
})}
</div>
)}
Expand Down

0 comments on commit b3f4515

Please sign in to comment.