different-ai/openwork · error
useOrgDashboard must be used within OrgDashboardProvider.
Error message
useOrgDashboard must be used within OrgDashboardProvider.
What it means
Error "useOrgDashboard must be used within OrgDashboardProvider." thrown in different-ai/openwork.
Source
Thrown at ee/apps/den-web/app/(den)/dashboard/_providers/org-dashboard-provider.tsx:950
return (
<OrgDashboardContext.Provider value={value}>
{children}
<ReauthDialog
open={reauthDialogOpen}
user={user}
orgContext={orgContext}
onCancel={cancelReauth}
onVerified={retryReauthMutation}
/>
</OrgDashboardContext.Provider>
);
}
export function useOrgDashboard() {
const value = useContext(OrgDashboardContext);
if (!value) {
throw new Error("useOrgDashboard must be used within OrgDashboardProvider.");
}
return value;
}
View on GitHub (pinned to 2b7df46e8a)
When it happens
Trigger: Thrown at ee/apps/den-web/app/(den)/dashboard/_providers/org-dashboard-provider.tsx:950 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of different-ai/openwork@2b7df46e8a (2026-09-01).
Data as JSON: /api/errors/6329b37a04d90504.
Report an issue: GitHub.