fix(web): add ReactQueryProvider to root layout for Mission Control #744
Reference in New Issue
Block a user
Delete Branch "fix/mission-control-query-provider"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Mission Control page crashes with:
Components
AuditLogDrawer,GlobalAgentRoster, andPanelControlsall use@tanstack/react-queryhooks but noQueryClientProviderexisted anywhere in the layout tree.Fix
ReactQueryProviderinapps/web/src/providers/ReactQueryProvider.tsxapps/web/src/app/layout.tsxwrapping the entire appTesting