import clsx from 'clsx'; import { useNavigate } from 'react-router-dom'; const serverList = ['container', 'panel', 'publish', 'code-editor', 'map', 'ai-chat']; const serverPath = [ { path: 'container', links: ['edit/list', 'preview/:id', 'edit/:id'], }, { path: 'panel', links: ['edit/list', 'flow/:id', 'deck/:id'], }, { path: 'app', links: ['edit/list', ':app/verison/list'], }, { path: 'file', links: ['edit/list'], }, { path: 'publish', links: ['edit/list'], }, { path: 'map', links: ['/'], }, { path: 'prompt', links: ['/'], }, { path: 'agent', links: ['edit/list'], }, { path: 'chat', links: ['history/list', 'session/list', 'chat-prompt/list'], }, { path: 'org', links: ['edit/list'], }, ]; const ServerPath = () => { const navigate = useNavigate(); return (