Skip to content

Commit

Permalink
fix: sort wrong when click icon search
Browse files Browse the repository at this point in the history
  • Loading branch information
DinhTran committed Feb 22, 2024
1 parent 02f0497 commit 1a0568c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DelegationPool/DelegationList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,10 @@ const DelegationLists: React.FC = () => {
<SubmitButton
onClick={() => {
setSearch(value);
history.replace({ search: stringify({ ...pageInfo, page: 1 }) });
history.push(routers.DELEGATION_POOLS, {
tickerNameSearch: (value || "").toLocaleLowerCase()
});
history.replace({ search: stringify({ ...pageInfo, page: 1 }) });
}}
>
<CustomIcon
Expand Down

0 comments on commit 1a0568c

Please sign in to comment.