Browse Source

Fix crash on planex group screen open

Arnaud Vergnet 3 years ago
parent
commit
98770611ff
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/screens/Planex/GroupSelectionScreen.js

+ 1
- 1
src/screens/Planex/GroupSelectionScreen.js View File

@@ -97,7 +97,7 @@ class GroupSelectionScreen extends React.Component<PropsType, StateType> {
97 97
    * Creates the header content
98 98
    */
99 99
   componentDidMount() {
100
-    const [navigation] = this.props;
100
+    const {navigation} = this.props;
101 101
     navigation.setOptions({
102 102
       headerTitle: this.getSearchBar,
103 103
       headerBackTitleVisible: false,

Loading…
Cancel
Save