diff --git a/apps/desktop/src/renderer/src/pages/clients.tsx b/apps/desktop/src/renderer/src/pages/clients.tsx index 924f6e9b..309968ed 100644 --- a/apps/desktop/src/renderer/src/pages/clients.tsx +++ b/apps/desktop/src/renderer/src/pages/clients.tsx @@ -1,4 +1,3 @@ -import { useState } from 'react' import { Card, CardContent, @@ -6,20 +5,12 @@ import { CardHeader, CardTitle, } from '@multica/ui/components/ui/card' -import { Button } from '@multica/ui/components/ui/button' -import { - Tabs, - TabsContent, - TabsList, - TabsTrigger, -} from '@multica/ui/components/ui/tabs' -import { QrCode, Radio, Smartphone, WifiOff, Loader2 } from 'lucide-react' +import { WifiOff, Loader2 } from 'lucide-react' import { useHubStore, selectPrimaryAgent } from '../stores/hub' -import { ConnectionQRCode } from '../components/qr-code' import { TelegramConnectQR } from '../components/telegram-qr' import { DeviceList } from '../components/device-list' -function ChannelsTab() { +function ChannelsContent() { const { hubInfo, agents } = useHubStore() const primaryAgent = selectPrimaryAgent(agents) @@ -52,84 +43,16 @@ function ChannelsTab() {

Discord and Slack coming soon.

- - ) -} -/** QR Code card with show/hide toggle */ -function QRCodeCard({ - gateway, - hubId, - agentId, -}: { - gateway: string - hubId: string - agentId: string -}) { - const [expanded, setExpanded] = useState(true) - - return ( - - -
-
- Scan to Connect - Open Multica on your phone and scan. -
- -
-
- {expanded && ( - - + + + Authorized Devices + Devices you've approved to access your agent. + + + - )} - - ) -} - -/** Authorized devices card */ -function DevicesCard() { - return ( - - - Authorized Devices - Devices you've approved to access your agent. - - - - - - ) -} - -function MulticaAppTab() { - const { hubInfo, agents } = useHubStore() - const primaryAgent = selectPrimaryAgent(agents) - - return ( -
-

- Scan to connect from your phone. Manage authorized devices. -

- -
- - -
+
) } @@ -173,34 +96,14 @@ export default function ClientsPage() {

Clients

- Access your agent from anywhere. Connect via third-party platforms or the Multica mobile app. + Access your agent from anywhere. Connect via third-party platforms.

- {/* Tabs */} - - - - - Channels - - - - Multica App - - - - - - - - - - - + )