Skip to content

Commit

Permalink
CRT Dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
WRadoslaw committed Dec 7, 2023
1 parent ab7e51f commit 7f70241
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const HoldersWidget = ({ holders: _holders, ownerId, totalSupply }: Holde
const [showModal, setShowModal] = useState(false)

const holders = _holders.map((holder) => ({
memberId: holder.member.id,
memberId: holder?.member?.id ?? '',
total: +holder.totalAmount,
allocation: Math.round((+holder.totalAmount / totalSupply) * 100),
vested: +holder.vestingSchedules[0].totalVestingAmount,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const CrtDashboard = () => {
const { activeChannel } = useUser()
const { data } = useGetFullCreatorTokenQuery({
variables: {
id: '18', //activeChannel?.creatorToken?.token.id ?? '',
id: activeChannel?.creatorToken?.token.id ?? '',
},
})
const handleChangeTab = useCallback((idx: number) => {
Expand Down

0 comments on commit 7f70241

Please sign in to comment.