Zohaib-Kenny-Zakaria-Wilson / fitcast

https://fitcast.vercel.app
1 stars 0 forks source link

FIT-51: Create-Forecast-Hook #92

Closed knnymrls closed 1 week ago

knnymrls commented 1 week ago

This pull request refactors the weather hooks and components to improve code organization and remove unnecessary code. The useAstro hook has been replaced with a new useForecast hook, which retrieves forecast data instead of astronomy data. The Wthr component has been updated to use the new useForecast hook and display the forecast data correctly. This refactor improves the maintainability and readability of the code.

linear[bot] commented 1 week ago

FIT-51 Create Forecast Hook