Centralize the fallback in DeleteProfileDialog (the single delete choke point) so both the rail and the Profiles view inherit it. Reset *after* the host's onDeleted refresh so a refreshActiveProfile racing the dying backend can't clobber the pill back to the deleted profile, and set $activeProfile too (selectProfile only moved the gateway, leaving the statusbar pill stranded on the dead profile). |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| hooks | ||
| lib | ||
| store | ||
| themes | ||
| types | ||
| global.d.ts | ||
| hermes.ts | ||
| main.tsx | ||
| styles.css | ||
| vite-env.d.ts | ||