()
| 24 | }, [theme]); |
| 25 | |
| 26 | const themeToggler = () =>{ |
| 27 | if(theme === 'light-theme'){ |
| 28 | setTheme('dark-theme'); |
| 29 | setChecked(false) |
| 30 | }else{ |
| 31 | setTheme('light-theme'); |
| 32 | setChecked(true) |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | return ( |
| 37 | <div className="App"> |
nothing calls this directly
no outgoing calls
no test coverage detected