refactor: cleanup and minor improvements

- Remove unused useDarkMode hook (now using shadcn theme-provider)
- Clean up MCP components (remove redundant code)
- Add restart API to settings
- Minor type improvements
This commit is contained in:
Jason
2025-10-17 16:35:12 +08:00
parent d3f2c3c901
commit 8d6ab63648
9 changed files with 20 additions and 110 deletions

View File

@@ -57,7 +57,6 @@
"i18next": "^25.5.2",
"jsonc-parser": "^3.2.1",
"lucide-react": "^0.542.0",
"next-themes": "^0.4.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.65.0",