Skip to content

Commit

Permalink
revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Petty committed Jul 5, 2018
1 parent a6cd51b commit 20ea8c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/MenuPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class MenuPage extends React.Component {
componentWillMount() {
this.databaseListenerId = this.props.database.addListener(
// Ensure that language changes in login modal are re-rendered onto the MenuPage
(recordType) => recordType === 'Setting' && this.forceUpdate(),
(changeType, recordType) => recordType === 'Setting' && this.forceUpdate(),
);
}

Expand Down

0 comments on commit 20ea8c6

Please sign in to comment.