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
Browse filesBrowse the repository at this point in the historyBrowse files
Miriad
and
dashboard
committed
fix: handle missing SANITY_API_TOKEN at build time
- Dashboard client gracefully handles missing token (returns null)
- dashboardQuery returns empty results when client unavailable
- All server actions check for client availability before mutations
- Added force-dynamic to dashboard pages to prevent SSG data fetching
- Prevents build errors when SANITY_API_TOKEN isn't set during build
Co-authored-by: dashboard <dashboard@miriad.systems>
0 commit comments