mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-17 23:29:01 +02:00
selectViewedIssueIds was returning a fresh `[]` when the workspace had no entry yet, which made useSyncExternalStore see a different snapshot on every read and trigger "getSnapshot should be cached" + infinite re-render. Share a single frozen empty array for all no-entry paths, matching the Zustand footgun rule in CLAUDE.md. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>