Use modals

This commit is contained in:
omaroughriss 2025-09-30 17:56:41 +02:00
parent b291a3962e
commit fc5ada5a55

View File

@ -2547,6 +2547,25 @@ export default function FoldersPage() {
</div>
</div>
)}
{/* Folder Creation Modal */}
<FolderModal
isOpen={showCreateFolderModal}
onClose={handleCancelCreateFolder}
onSave={handleSaveNewFolder}
onCancel={handleCancelCreateFolder}
/>
{/* 4NK Authentication Modal */}
<AuthModal
isOpen={showAuthModal}
onConnect={handleAuthConnect}
onClose={handleAuthClose}
iframeUrl={iframeUrl}
/>
{/* 4NK Iframe - only show when connected */}
{isConnected && <Iframe iframeUrl={iframeUrl} />}
</div>
)
}