Skip to content

Commit e09f72c

Browse files
committed
Update README.md
1 parent 0cff08a commit e09f72c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default class FooBar extends Component {
3838
}
3939

4040
componentDidMount() {
41-
findDOMNode(this.refs.container).addEventListener((evt) => {
41+
findDOMNode(this.refs.container).addEventListener('resize', (evt) => {
4242
console.log('Component has been resized!')
4343
})
4444
}

0 commit comments

Comments
 (0)