diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 331626e..be7dab1 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -125,17 +125,6 @@ function App() { } /> - { - try { - document.location.reload() - return true - } catch(err) { - return false - } - }} - /> } /> diff --git a/frontend/src/components/Sidebar.tsx b/frontend/src/components/Sidebar.tsx index 783a230..0b96121 100644 --- a/frontend/src/components/Sidebar.tsx +++ b/frontend/src/components/Sidebar.tsx @@ -9,7 +9,7 @@ const navItems = [ { to: '/api-keys', icon: Key, label: 'API Ключи' }, { to: '/logs', icon: FileText, label: 'Логи' }, { to: '/settings', icon: Settings, label: 'Настройки' }, - { to: '/api-docs', icon: Book, label: 'Swagger' }, + { to: '/api-docs', icon: Book, label: 'Swagger', external: true }, ]; export default function Sidebar() {