feat(INJI-322): remove resend msg timer after timer ends (#855)

Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
This commit is contained in:
PoojaBabusing
2023-09-25 11:29:13 +05:30
committed by GitHub
parent 8378cb8fce
commit fd2e0e231a

View File

@@ -70,7 +70,7 @@ export const OtpVerificationModal: React.FC<
margin="36 0 0 0"
color={Theme.Colors.resendCodeTimer}
weight="regular">
{` ${t('resendTheCode')} : ${formatTime(timer)}`}
{timer > 0 ? `${t('resendTheCode')} : ${formatTime(timer)}` : ''}
</Text>
<TouchableOpacity