()
| 94 | |
| 95 | /** Hook for using App Settings, such as theme and darkmode */ |
| 96 | export const useSettings = (): AppSettings => { |
| 97 | const settings = useContext(SettingsContext); |
| 98 | return settings; |
| 99 | }; |
| 100 | |
| 101 | /** |
| 102 | * The context must be provided by wrapping a high level React element in |
no outgoing calls
no test coverage detected