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
Good start on the React API project. This still needs work to get it across the finish line.
I notice that you have a Weather component. Good work. Currently you are returning <Weather /> from App.renderWeather(). Weather expects some props that seem to be missing here. Something like
<Weather temp={temp} />
I see an error
./src/components/weather.js
Line 3: Your render method should have a return statement
Looks like you need a return in Weather.render(). Better to make this component a functional/stateless component.
The text was updated successfully, but these errors were encountered:
Good start on the React API project. This still needs work to get it across the finish line.
I notice that you have a Weather component. Good work. Currently you are returning
<Weather />
fromApp.renderWeather()
. Weather expects some props that seem to be missing here. Something like<Weather temp={temp} />
I see an error
Looks like you need a return in
Weather.render()
. Better to make this component a functional/stateless component.The text was updated successfully, but these errors were encountered: