add error message handler, add request animation
This commit is contained in:
@@ -115,7 +115,12 @@ export default function ConfirmMailModalWindow({ userId, email, onClose }: { use
|
||||
className={`${styles['btn']}`}
|
||||
disabled={confirmCodeValue.length !== 6 || isPending}
|
||||
>
|
||||
{isPending ? t('confirming') : t('confirm')}
|
||||
{t('confirm')}
|
||||
{isPending && (
|
||||
<div className="loading-animation">
|
||||
<div className="global-spinner"></div>
|
||||
</div>
|
||||
)}
|
||||
</button>
|
||||
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user