Add integration states

This commit is contained in:
omaroughriss 2025-09-30 17:49:24 +02:00
parent c7606b4acb
commit 2fa9775941

View File

@ -164,6 +164,16 @@ export default function FoldersPage() {
const [showFilters, setShowFilters] = useState(false)
const [currentPath, setCurrentPath] = useState<string[]>(["Racine"])
const [actionModal, setActionModal] = useState<ActionModal>({ type: null, folder: null, folders: [] })
const [showCreateFolderModal, setShowCreateFolderModal] = useState(false)
// 4NK Integration states
const [isConnected, setIsConnected] = useState(false)
const [showAuthModal, setShowAuthModal] = useState(false)
const [processes, setProcesses] = useState<any>(null)
const [myProcesses, setMyProcesses] = useState<string[]>([])
const [userPairingId, setUserPairingId] = useState<string | null>(null)
const [pairingIdInitialized, setPairingIdInitialized] = useState(false)
const iframeUrl = 'https://dev3.4nkweb.com'
// Modal states
const [inviteMessage, setInviteMessage] = useState("")