diff --git a/src/pages/MenuPage.js b/src/pages/MenuPage.js index fe3cdb1ea..544c5ba2c 100644 --- a/src/pages/MenuPage.js +++ b/src/pages/MenuPage.js @@ -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(), ); }