()
| 13 | ); |
| 14 | |
| 15 | export const useSettings = () => { |
| 16 | const context = useContext(SettingsContext); |
| 17 | if (context === undefined) { |
| 18 | throw new Error('useSettings must be used within a SettingsProvider'); |
| 19 | } |
| 20 | return context; |
| 21 | }; |
no outgoing calls
no test coverage detected