Skip to content

Commit e20b12e

Browse files
aviolitimdorr
authored andcommitted
Fix a TypeError exception in real-world example (#3220)
Fix a TypeError exception, raised because wrong argument is passed to a function call.
1 parent 1f998b0 commit e20b12e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

real-world/src/containers/UserPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class UserPage extends Component {
3232

3333
componentDidUpdate(prevProps) {
3434
if (prevProps.login !== this.props.login) {
35-
loadData(this.props.login)
35+
loadData(this.props)
3636
}
3737
}
3838

0 commit comments

Comments
 (0)