()
| 207 | }; |
| 208 | |
| 209 | export const useAppMode = () => { |
| 210 | const context = useContext(AppModeContext); |
| 211 | if (context === undefined) { |
| 212 | throw new Error("useAppMode must be used within an AppModeProvider"); |
| 213 | } |
| 214 | return context; |
| 215 | }; |
no outgoing calls
no test coverage detected