const handleResendConfirmationEmail = async (): Promise<void> => {
    setSubmitting(true);
    setErrorMessage(undefined);

    try {