()
| 29 | }, [theme]); |
| 30 | |
| 31 | const toggleTheme = () => { |
| 32 | setTheme(prev => prev === 'light' ? 'dark' : 'light'); |
| 33 | }; |
| 34 | |
| 35 | const convertToWebP = useCallback(async (file: File): Promise<ConvertedImage> => { |
| 36 | const img = document.createElement('img'); |
nothing calls this directly
no outgoing calls
no test coverage detected