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: sync ReportView reportData state with async metadata and add loading state
The ReportView component had a stale state bug where reportData was
initialized via useState(initialReport) on first render when metadata
was still loading (reports=[]), causing it to remain undefined even
after metadata loaded. Added useEffect to sync state and loading check.
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
0 commit comments