{"record":{"id":"6329b37a04d90504","repo":"different-ai/openwork","slug":"useorgdashboard-must-be-used-within-orgdashboardpr","errorCode":null,"errorMessage":"useOrgDashboard must be used within OrgDashboardProvider.","messagePattern":"useOrgDashboard must be used within OrgDashboardProvider\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"ee/apps/den-web/app/(den)/dashboard/_providers/org-dashboard-provider.tsx","lineNumber":950,"sourceCode":"\n  return (\n    <OrgDashboardContext.Provider value={value}>\n      {children}\n      <ReauthDialog\n        open={reauthDialogOpen}\n        user={user}\n        orgContext={orgContext}\n        onCancel={cancelReauth}\n        onVerified={retryReauthMutation}\n      />\n    </OrgDashboardContext.Provider>\n  );\n}\n\nexport function useOrgDashboard() {\n  const value = useContext(OrgDashboardContext);\n  if (!value) {\n    throw new Error(\"useOrgDashboard must be used within OrgDashboardProvider.\");\n  }\n  return value;\n}\n","sourceCodeStart":932,"sourceCodeEnd":954,"githubUrl":"https://github.com/different-ai/openwork/blob/2b7df46e8ae1517d64c896c7793d2d52ec845669/ee/apps/den-web/app/(den)/dashboard/_providers/org-dashboard-provider.tsx#L932-L954","documentation":"Error \"useOrgDashboard must be used within OrgDashboardProvider.\" thrown in different-ai/openwork.","triggerScenarios":"Thrown at ee/apps/den-web/app/(den)/dashboard/_providers/org-dashboard-provider.tsx:950 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2b7df46e8ae1517d64c896c7793d2d52ec845669","analyzedAt":"2026-09-01T07:59:23.713Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}