Skip to content

Commit

Permalink
Fix level-up detection causing logout to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
MrOrz committed Aug 24, 2018
1 parent 5509b3c commit 7657850
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/App/UserName.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ class UserName extends PureComponent {
componentDidUpdate(prevProps) {
if (
prevProps.user &&
this.props.user &&
prevProps.user.get('level') !== this.props.user.get('level')
) {
// show level up popup
Expand Down

0 comments on commit 7657850

Please sign in to comment.