()
| 11 | const [mounted, setMounted] = useState(false); |
| 12 | |
| 13 | const toggleTheme = () => { |
| 14 | const newTheme = resolvedTheme === "light" ? "dark" : "light"; |
| 15 | setTheme(newTheme); |
| 16 | }; |
| 17 | |
| 18 | useEffect(() => { |
| 19 | setMounted(true); |
nothing calls this directly
no outgoing calls
no test coverage detected