import { useChannels } from '@/store/channels'; import { useAccount } from '@/store/account'; import { channelPath, navigate } from '@/app/navigation'; import { Button } from '@/ui/Button'; import { Icon } from '@/ui/Icon'; import styles from './ThreadSidebar.module.css'; export function ChannelSwitcher({ id, onCreate }: { id?: string; onCreate: () => void }) { const channels = useChannels((s) => s.list); const username = useAccount((s) => s.username); return
空间
; }