()
| 68 | } |
| 69 | |
| 70 | export function useApp() { |
| 71 | const context = useContext(AppContext); |
| 72 | if (context === undefined) { |
| 73 | throw new Error('useApp must be used within an AppProvider'); |
| 74 | } |
| 75 | return context; |
| 76 | } |
no outgoing calls
no test coverage detected