minor tweak

This commit is contained in:
Reinaldo Neto 2023-01-20 15:38:48 -03:00
parent f81cb6d75b
commit eb63bf093e
1 changed files with 1 additions and 1 deletions

View File

@ -89,9 +89,9 @@ const DiscussionsView = ({ navigation, route }: IDiscussionsViewProps): React.Re
}, 500); }, 500);
const onCancelSearchPress = () => { const onCancelSearchPress = () => {
setSearch([]);
setIsSearching(false); setIsSearching(false);
offset.current = 0; offset.current = 0;
setSearch([]);
}; };
const onSearchPress = () => { const onSearchPress = () => {