The detail pane rendered from react-query's cached data, so deleting the selected playlist emptied the rail but left its stale contents on the right. Gate the detail view on the current selection so it falls back to the empty state when nothing (or a just-deleted playlist) is selected. |
||
|---|---|---|
| .. | ||
| src | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| vite.config.ts | ||