diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index 79fc10f..f8c073d 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -100,8 +100,6 @@ const Home: React.FC = () => { const [ forecast, setForecast ] = useState(null); const [ loading, setLoading ] = useState(true); const [ error, setError ] = useState(''); - const [ dailyForecastPosition, setDailyForecastPosition ] = useState(0); - const [ hourlyForecastPosition, setHourlyForecastPosition ] = useState(0); useEffect(() => { if (!navigator.geolocation) setError('Geolocation not supported in this browser! Try searching for a city instead');