()
| 14 | const isDark = mounted && resolvedTheme === 'dark' |
| 15 | |
| 16 | const toggleTheme = () => setTheme(isDark ? 'light' : 'dark') |
| 17 | |
| 18 | const iconToUse: 'Moon' | 'Sun' = isDark ? 'Moon' : 'Sun' |
| 19 | const iconText = isDark ? 'Dark' : 'Light' |
nothing calls this directly
no outgoing calls
no test coverage detected