From 8e064a54e6fba3c4595d25d61aa595fa98608313 Mon Sep 17 00:00:00 2001 From: Gerzon Z Date: Wed, 13 Oct 2021 17:12:02 -0400 Subject: [PATCH] Fix lint --- app/views/DiscussionsView/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/DiscussionsView/index.tsx b/app/views/DiscussionsView/index.tsx index 17ab705bb..5205bf6dc 100644 --- a/app/views/DiscussionsView/index.tsx +++ b/app/views/DiscussionsView/index.tsx @@ -143,7 +143,7 @@ const DiscussionsView = ({ navigation, route }: IDiscussionsViewProps): JSX.Elem options = { headerLeft: () => ( - navigation.pop()} tintColor={themes[theme].headerTintColor} /> + navigation.pop()} tintColor={themes[theme!].headerTintColor} /> ), headerTitleAlign: 'center', headerTitle: I18n.t('Discussions'), @@ -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}