mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-10-19 13:58:14 +00:00
feat(weather-widget): reduce update interval
This commit is contained in:
@@ -104,7 +104,7 @@ const WeatherWidget = () => {
|
||||
|
||||
useEffect(() => {
|
||||
updateWeather();
|
||||
const intervalId = setInterval(updateWeather, 2 * 60 * 1000);
|
||||
const intervalId = setInterval(updateWeather, 30 * 1000);
|
||||
return () => clearInterval(intervalId);
|
||||
}, []);
|
||||
|
||||
|
Reference in New Issue
Block a user