When I call the function in the Search component, it does not add information to the state in the app component, and why the rendering of the WeatherCard component fails, I