You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: Add storesSynced state to prevent render before sync
Problem: syncWorkspaces runs in useEffect AFTER render, but sidebar
components access the store DURING render, causing assertion failures.
Solution: Add storesSynced state that only becomes true after
syncWorkspaces completes. Gate UI rendering on both metadataLoading
AND storesSynced to ensure stores are ready before any component
tries to access them.
0 commit comments