aboutsummaryrefslogtreecommitdiff
path: root/src/screens/search
diff options
context:
space:
mode:
authorankit-thanekar007 <ankit.thanekar007@gmail.com>2021-04-08 17:38:55 -0700
committerankit-thanekar007 <ankit.thanekar007@gmail.com>2021-04-09 10:08:10 -0700
commit84c103614247ab7dc8b86767f3bfa83c13f224aa (patch)
treedbe119329c71fef51d2151755387b02b80b42427 /src/screens/search
parentfb5cca5bd8aff7232c2ab5e01df0e79dddbef504 (diff)
Modal viw added
Diffstat (limited to 'src/screens/search')
-rw-r--r--src/screens/search/SearchScreen.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screens/search/SearchScreen.tsx b/src/screens/search/SearchScreen.tsx
index f7e1c467..6d8e4848 100644
--- a/src/screens/search/SearchScreen.tsx
+++ b/src/screens/search/SearchScreen.tsx
@@ -24,7 +24,7 @@ import {
SearchResultsBackground,
TabsGradient,
} from '../../components';
-import {SEARCH_ENDPOINT} from '../../constants';
+import {SEARCH_ENDPOINT_V2} from '../../constants';
import {loadSearchResults} from '../../services';
import {resetScreenType} from '../../store/actions';
import {RootState} from '../../store/rootReducer';
@@ -71,7 +71,7 @@ const SearchScreen: React.FC = () => {
}
(async () => {
const searchResults = await loadSearchResults(
- `${SEARCH_ENDPOINT}?query=${query}`,
+ `${SEARCH_ENDPOINT_V2}?query=${query}`,
);
if (query.length > 2) {
const sanitizedResult = [