Skip to content

Commit

Permalink
Update src/pages/Search/SearchPage.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Martins <[email protected]>
  • Loading branch information
adamgrzybowski and luacmartins authored Jun 11, 2024
1 parent 67fed6a commit b849a8e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pages/Search/SearchPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ function SearchPage({route}: SearchPageProps) {

const handleOnBackButtonPress = () => Navigation.goBack(ROUTES.SEARCH.getRoute(CONST.TAB_SEARCH.ALL));

// We need to override default back button behavior on Android because we need to pop two screens, from the central pane and from the bottom tab.

// On small screens this page is not displayed, the configuration is in the file: src/libs/Navigation/AppNavigator/createCustomStackNavigator/index.tsx
// To avoid calling hooks in the Search component when this page isn't visible, we return null here.
Expand Down

0 comments on commit b849a8e

Please sign in to comment.