From 20ea8c67139a66670cb6268cbb081bf2037cb088 Mon Sep 17 00:00:00 2001 From: Christopher Petty Date: Thu, 5 Jul 2018 19:29:04 +1200 Subject: [PATCH] revert change --- src/pages/MenuPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(), ); }