Skip to content

Commit

Permalink
fix: MET-1667 improve search
Browse files Browse the repository at this point in the history
  • Loading branch information
Sotatek-TaiTruong committed Sep 16, 2024
1 parent 6d41566 commit 6d196ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/StakingLifeCycleSearch/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ const StakingLifeCycleSearch = () => {

const hanldeSearch = async () => {
if (!value) return;
setValueSearch(value);
const data = await adaHandleSearch(value);
setValueSearch(value.trim());
const data = await adaHandleSearch(value.trim());
if (data.stakeAddress) {
setADAHanlde(data);
}
Expand Down

0 comments on commit 6d196ff

Please sign in to comment.