Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Kicu committed Jul 25, 2024
1 parent 4741f7a commit 1fc7be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Search/SearchPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function SearchPage({route}: SearchPageProps) {

const {policyIDs} = route.params;

const queryJSON = useMemo(() => buildSearchQueryJSON(route.params.q, policyIDs), [route.params]);
const queryJSON = useMemo(() => buildSearchQueryJSON(route.params.q, policyIDs), [route.params.q, policyIDs]);

const handleOnBackButtonPress = () => Navigation.goBack(ROUTES.SEARCH_CENTRAL_PANE.getRoute({query: CONST.SEARCH.TAB.EXPENSE.ALL}));

Expand Down

0 comments on commit 1fc7be1

Please sign in to comment.