Skip to content

Commit b33a327

Browse files
committed
small fix
1 parent 2bde429 commit b33a327

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/projects/detail/containers/FeedContainer.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ class FeedView extends React.Component {
7878

7979
componentDidMount() {
8080
window.addEventListener('beforeunload', this.onLeave)
81+
}
82+
83+
componentWillMount() {
8184
this.init(this.props)
8285
}
8386

0 commit comments

Comments
 (0)