You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor WeatherTab component to fix an issue where changing the weather
unit was not triggering a data refresh. Added a new function,
setUnitAndRefetch, to update the unit and invalidate the weather query
cache. This ensures that the weather data is correctly updated when
switching between Fahrenheit and Celsius units. Fixes#61.
When there's a change in weather unit, the temperature doesn't change
The text was updated successfully, but these errors were encountered: