From de94602cd249ade0cf296bf139fd7e230f61da2a Mon Sep 17 00:00:00 2001 From: natjms Date: Thu, 31 Mar 2022 06:13:12 -0700 Subject: [PATCH] Add onSubmitEditing listener in search.js --- src/components/pages/discover/search.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/pages/discover/search.js b/src/components/pages/discover/search.js index f617c95..4fe9971 100644 --- a/src/components/pages/discover/search.js +++ b/src/components/pages/discover/search.js @@ -171,6 +171,7 @@ const SearchJsx = ({navigation}) => { style = { styles.form.input } placeholder = "Search..." autoFocus + onSubmitEditing = { _handleSearch } onChangeText = { q => setState({ ...state, query: q }) }