From 98770611ff8a372777b8b608019ba45d50e505bd Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Thu, 6 Aug 2020 14:01:28 +0200 Subject: [PATCH] Fix crash on planex group screen open --- src/screens/Planex/GroupSelectionScreen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screens/Planex/GroupSelectionScreen.js b/src/screens/Planex/GroupSelectionScreen.js index d288483..5cbecf5 100644 --- a/src/screens/Planex/GroupSelectionScreen.js +++ b/src/screens/Planex/GroupSelectionScreen.js @@ -97,7 +97,7 @@ class GroupSelectionScreen extends React.Component { * Creates the header content */ componentDidMount() { - const [navigation] = this.props; + const {navigation} = this.props; navigation.setOptions({ headerTitle: this.getSearchBar, headerBackTitleVisible: false,