Fix: fetch follows on desktop search for typeahead (#1660)
This commit is contained in:
parent
60c0db03f7
commit
d68b4ca856
2 changed files with 10 additions and 2 deletions
|
@ -22,6 +22,13 @@ export const DesktopSearch = observer(function DesktopSearch() {
|
|||
)
|
||||
const navigation = useNavigation<NavigationProp>()
|
||||
|
||||
// initial setup
|
||||
React.useEffect(() => {
|
||||
if (store.me.did) {
|
||||
autocompleteView.setup()
|
||||
}
|
||||
}, [autocompleteView, store.me.did])
|
||||
|
||||
const onChangeQuery = React.useCallback(
|
||||
(text: string) => {
|
||||
setQuery(text)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue