Skip to content

Commit

Permalink
Fix code after conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Kicu committed Oct 16, 2024
1 parent 0c99713 commit ea1271e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Search/SearchRouter/SearchRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function SearchRouter({onRouterClose}: SearchRouterProps) {
isFullWidth={isSmallScreenWidth}
updateSearch={onSearchChange}
onSubmit={() => {
onSearchSubmit(SearchUtils.buildSearchQueryJSON(textInputValue));
onSearchSubmit(SearchQueryUtils.buildSearchQueryJSON(textInputValue));
}}
routerListRef={listRef}
shouldShowOfflineMessage
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Search/SearchPageBottomTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function SearchPageBottomTab() {
);
}

const shouldDisplayCancelSearch = shouldUseNarrowLayout && !SearchUtils.isCannedSearchQuery(queryJSON);
const shouldDisplayCancelSearch = shouldUseNarrowLayout && !SearchQueryUtils.isCannedSearchQuery(queryJSON);

return (
<ScreenWrapper
Expand Down

0 comments on commit ea1271e

Please sign in to comment.