Skip to content

Commit 0cc2124

Browse files
authored
fix: duplicate kele stake info in eth detail page (#4599)
1 parent ff53e1e commit 0cc2124

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/kit/src/hooks/useOverview.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,9 @@ export const useTokenPositionInfo = ({
448448
items: [],
449449
};
450450
}
451-
const { totalBalance, keleStakingBalance, items } = result;
451+
const { totalBalance, keleStakingBalance, items: assets } = result;
452+
453+
const items = [...assets];
452454

453455
if (new B(keleStakingBalance)?.gt(0)) {
454456
items.push({

0 commit comments

Comments
 (0)