()
| 92 | } |
| 93 | |
| 94 | export function useAppState() { |
| 95 | const context = useContext(StateContext); |
| 96 | if (!context) { |
| 97 | throw new Error('useAppState must be used within the AppStateProvider'); |
| 98 | } |
| 99 | return context; |
| 100 | } |
no outgoing calls
no test coverage detected