Skip to content

Commit

Permalink
Merge pull request #180 from AelfScanProject/fix/fix-homeSearch
Browse files Browse the repository at this point in the history
fix: fix search
  • Loading branch information
simon-bai authored Aug 1, 2024
2 parents 27c2d02 + fea22a1 commit 3ded1c4
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/_components/Search/SearchBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,9 @@ const Search = ({
return hasFocus;
} else {
return (
hasFocus &&
query &&
canShowListBox &&
dataWithOrderIdx &&
!dataWithOrderIdx?.transaction &&
!dataWithOrderIdx?.block
hasFocus && query && canShowListBox && dataWithOrderIdx
// !dataWithOrderIdx?.transaction &&
// !dataWithOrderIdx?.block
);
}
}, [adsDetail, canShowListBox, dataWithOrderIdx, hasFocus, query]);
Expand Down

0 comments on commit 3ded1c4

Please sign in to comment.