Minor tweak

This commit is contained in:
Gerzon Z 2021-11-04 15:44:52 -04:00
parent 0a3bdb65bd
commit bd534f5fd4
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ const DiscussionsView = ({ navigation, route }: IDiscussionsViewProps): JSX.Elem
data={isSearching ? search : discussions}
renderItem={renderItem}
keyExtractor={(item: any) => item.msg}
style={{ backgroundColor: themes[theme].backgroundColor }}
style={{ backgroundColor: themes[theme!].backgroundColor }}
contentContainerStyle={styles.contentContainer}
onEndReachedThreshold={0.5}
maxToRenderPerBatch={5}