minor tweak
This commit is contained in:
parent
f81cb6d75b
commit
eb63bf093e
|
@ -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 = () => {
|
||||||
|
|
Loading…
Reference in New Issue