()
| 12 | }; |
| 13 | |
| 14 | const handleChange = () => { |
| 15 | onUnitsChange(units.match(/metric/i) ? 'imperial' : 'metric'); |
| 16 | setIsMetric(!isMetric); |
| 17 | toggleSettingsMenu(); |
| 18 | }; |
| 19 | |
| 20 | return ( |
| 21 | <div className="w-full m-auto mt-4 md:w-3/5 lg:w-1/2"> |
nothing calls this directly
no test coverage detected