Fixed crash on club screen

This commit is contained in:
Arnaud Vergnet 2020-04-25 16:49:13 +02:00
parent 13b9e8dad0
commit 82f208b366
2 changed files with 3 additions and 3 deletions

View file

@ -170,7 +170,8 @@ class ClubDisplayScreen extends React.Component<Props, State> {
source={{
uri: data.logo,
}}
/></View>
/>
</View>
: <View/>}
{data.description !== null ?
@ -180,7 +181,7 @@ class ClubDisplayScreen extends React.Component<Props, State> {
</Card.Content>
: <View/>}
{this.getManagersRender(data.responsibles, data.email)}
q </ScrollView>
</ScrollView>
);
} else
return null;

View file

@ -115,7 +115,6 @@ class ClubListScreen extends React.Component<Props, State> {
this.categories = categoryList;
const {containerPaddingTop, scrollIndicatorInsetTop, onScroll} = this.props.collapsibleStack;
return (
//$FlowFixMe
<Animated.FlatList
data={clubList}
keyExtractor={this.keyExtractor}