chore: fix code formatting and test setup

- Format Rust code with rustfmt (misc.rs, types.rs)
- Format TypeScript/React code with Prettier (4 files)
- Fix ProviderList test by wrapping with QueryClientProvider
This commit is contained in:
Jason
2026-01-20 23:40:33 +08:00
parent 00168877d9
commit b993b1f664
7 changed files with 66 additions and 25 deletions
+6 -1
View File
@@ -11,7 +11,12 @@ interface AppSwitcherProps {
const ALL_APPS: AppId[] = ["claude", "codex", "gemini", "opencode"];
export function AppSwitcher({ activeApp, onSwitch, visibleApps, compact }: AppSwitcherProps) {
export function AppSwitcher({
activeApp,
onSwitch,
visibleApps,
compact,
}: AppSwitcherProps) {
const handleSwitch = (app: AppId) => {
if (app === activeApp) return;
onSwitch(app);