Indented AuthModal.tsx

This commit is contained in:
Sadrinho27 2025-11-12 16:19:00 +01:00
parent ecdef29a26
commit 89dc173a00

View File

@ -54,7 +54,7 @@ function AuthModal({ isOpen, onConnect, onClose, iframeUrl }: AuthModalProps) {
onClose={onClose} onClose={onClose}
title="Authentification 4nk" title="Authentification 4nk"
size="md" size="md"
> >
{/* Loader affiché tant que l'iframe n'est pas prête */} {/* Loader affiché tant que l'iframe n'est pas prête */}
{!isIframeReady && !authSuccess && ( {!isIframeReady && !authSuccess && (
<div className="flex flex-col items-center justify-center h-96 gap-4"> <div className="flex flex-col items-center justify-center h-96 gap-4">
@ -80,7 +80,7 @@ function AuthModal({ isOpen, onConnect, onClose, iframeUrl }: AuthModalProps) {
<Iframe iframeUrl={iframeUrl} showIframe={showIframe} /> <Iframe iframeUrl={iframeUrl} showIframe={showIframe} />
</div> </div>
)} )}
</Modal> </Modal>
); );
} }