@insforge/react 0.5.9 → 0.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -680,7 +680,7 @@ function AuthEmailVerificationStep({
680
680
  emailSent = false
681
681
  }) {
682
682
  const { sendVerificationEmail } = useInsforge();
683
- const [resendDisabled, setResendDisabled] = useState(true);
683
+ const [resendDisabled, setResendDisabled] = useState(emailSent ? true : false);
684
684
  const [resendCountdown, setResendCountdown] = useState(emailSent ? 60 : 0);
685
685
  const [isSending, setIsSending] = useState(false);
686
686
  const [verificationCode, setVerificationCode] = useState("");