()
| 299 | } |
| 300 | |
| 301 | export function useApp() { |
| 302 | const context = useContext(AppContext); |
| 303 | if (context === undefined) { |
| 304 | throw new Error('useApp must be used within an AppProvider'); |
| 305 | } |
| 306 | return context; |
| 307 | } |
no outgoing calls
no test coverage detected