No traffic yet
) : (import { type } from '@tauri-apps/plugin-os'; import type { ProxyHeader } from '@yaakapp-internal/proxy-lib'; import { HeaderSize, IconButton, Table, TableBody, TableCell, TableHead, TableHeaderCell, TableRow, TruncatedWideTableCell, } from '@yaakapp-internal/ui'; import classNames from 'classnames'; import { useAtomValue } from 'jotai'; import { useRpcQueryWithEvent } from '../hooks/useRpcQueryWithEvent'; import { ActionButton } from './ActionButton'; import { filteredExchangesAtom, Sidebar } from './Sidebar'; export function ProxyLayout() { const osType = type(); const exchanges = useAtomValue(filteredExchangesAtom); const { data: proxyState } = useRpcQueryWithEvent('get_proxy_state', {}, 'proxy_state_changed'); const isRunning = proxyState?.state === 'running'; return (
No traffic yet
) : (