Files
opencode/packages
LukeParkerDev 0e7e791008 fix(layout): guard LocalWorkspace + projectId prop against undefined project
Previous commit only guarded SortableWorkspace. LocalWorkspace (rendered from layout.tsx:2243 with the same project={project()!} pattern) still accessed props.project.worktree directly inside four createMemo / useQuery bodies and threw the same 'worktree of undefined' during a server swap cascade. Route every worktree read through a worktree memo that returns the string or '', and guard the projectId prop on WorkspaceHeader.
2026-04-19 13:19:40 +10:00
..
2026-04-19 03:02:14 +00:00
2026-04-19 03:02:14 +00:00
2026-04-19 03:02:14 +00:00
2026-04-19 03:02:14 +00:00
2026-04-19 03:02:14 +00:00