feat(FN-4398): complete remaining dashboard visibility and docs

Fusion-Task-Id: FN-4398
Fusion-Task-Lineage: 8b898b2e-3468-4fa7-8546-b8f6ba52cf46
This commit is contained in:
Fusion
2026-05-14 15:23:49 -07:00
committed by gsxdsm
parent 53de550792
commit 85c6869fa6
25 changed files with 210 additions and 34 deletions

View File

@@ -0,0 +1,13 @@
import { createContext, useContext, type ReactNode } from "react";
const RetryWarningContext = createContext<number | undefined>(undefined);
export function RetryWarningProvider(
{ value, children }: { value: number | undefined; children: ReactNode },
) {
return <RetryWarningContext.Provider value={value}>{children}</RetryWarningContext.Provider>;
}
export function useRetryWarning(): number | undefined {
return useContext(RetryWarningContext);
}