From eb63bf093e5cd3eabc2e7713be99bd526d4a7cb4 Mon Sep 17 00:00:00 2001 From: Reinaldo Neto Date: Fri, 20 Jan 2023 15:38:48 -0300 Subject: [PATCH] minor tweak --- app/views/DiscussionsView/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/DiscussionsView/index.tsx b/app/views/DiscussionsView/index.tsx index 84a1190ac..2dea7e156 100644 --- a/app/views/DiscussionsView/index.tsx +++ b/app/views/DiscussionsView/index.tsx @@ -89,9 +89,9 @@ const DiscussionsView = ({ navigation, route }: IDiscussionsViewProps): React.Re }, 500); const onCancelSearchPress = () => { - setSearch([]); setIsSearching(false); offset.current = 0; + setSearch([]); }; const onSearchPress = () => {