Refactor code structure for improved readability and maintainability

This commit is contained in:
2025-08-01 19:43:11 +02:00
parent 8341e50dc8
commit 11e6e1684c
9 changed files with 22 additions and 9 deletions

View File

@@ -25,7 +25,7 @@ const WeatherCard: React.FC = () => {
pending: "Fetching weather data...",
success: "Weather data loaded successfully!",
error:
"Failed to load weather data. Please check your entered city name.",
"Failed to load weather data. Please check your entered city name. (Error: x4040)",
})
.then(() => {
if (localStorage.getItem("weather")) {