Skip to content

Commit

Permalink
Merge pull request nervosnetwork#1693 from nervosnetwork/master
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY authored Jul 3, 2024
2 parents 693dc99 + 849d545 commit 952e7b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/Xudt/HolderAllocation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ const HolderAllocation = ({
}) => {
const [t] = useTranslation()
const total = Object.values(allocation).reduce((acc, cur) => acc + cur, 0)
const btc = allocation.BTC
const btc = +(allocation.BTC ?? 0)
const ckb = total - btc

return (
<div className={styles.holderAllocationContainer}>
<div className={styles.holderAllocationContent}>
Expand Down

0 comments on commit 952e7b7

Please sign in to comment.