fix(app): stale keyed show errors

This commit is contained in:
Adam
2026-03-05 08:42:50 -06:00
parent a3d4ea0de1
commit 7665b8e30d
3 changed files with 14 additions and 12 deletions

View File

@@ -331,7 +331,9 @@ export function SessionSidePanel(props: {
const path = createMemo(() => file.pathFromTab(tab))
return (
<div data-component="tabs-drag-preview">
<Show when={path()}>{(p) => <FileVisual active path={p()} />}</Show>
<Show when={path()} keyed>
{(p) => <FileVisual active path={p} />}
</Show>
</div>
)
}}