()
| 39 | } |
| 40 | |
| 41 | export function useDebug(): DebugContextValue { |
| 42 | const context = useContext(DebugContext); |
| 43 | if (!context) { |
| 44 | throw new Error("useDebug must be used within a DebugProvider"); |
| 45 | } |
| 46 | return context; |
| 47 | } |
no outgoing calls
no test coverage detected