()
| 68 | } |
| 69 | |
| 70 | export function useTheme(): ThemeContextValue { |
| 71 | const ctx = useContext(ThemeContext) |
| 72 | if (!ctx) throw new Error('useTheme must be used within a ThemeProvider') |
| 73 | return ctx |
| 74 | } |
nothing calls this directly
no outgoing calls
no test coverage detected