Skip to content

Commit

Permalink
Fix error with holder veting access
Browse files Browse the repository at this point in the history
  • Loading branch information
WRadoslaw committed Nov 30, 2023
1 parent 5635ce9 commit 2e4c065
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const HoldersWidget = ({ holders: _holders, ownerId, totalSupply }: Holde
memberId: ownerId,
total: +holder.totalAmount,
allocation: Math.round((+holder.totalAmount / totalSupply) * 100),
vested: +holder.vestingSchedules[0].totalVestingAmount,
vested: +(holder.vestingSchedules[0]?.totalVestingAmount ?? 0),
}))

return (
Expand Down

0 comments on commit 2e4c065

Please sign in to comment.