showing shares for daohaus (#250)

This commit is contained in:
dan13ram
2020-12-25 12:01:45 +05:30
committed by GitHub
parent 44c706761c
commit 9ec7d5a3d9
2 changed files with 5 additions and 1 deletions

View File

@@ -76,7 +76,9 @@ export const PlayerMemberships: React.FC<Props> = ({
<Text fontSize="xs" casing="capitalize" mr={3}>
player
</Text>
<Text fontSize="xs">XP: 0</Text>
<Text fontSize="xs">
Shares: {member.shares}/{member.moloch.totalShares}
</Text>
</HStack>
</Box>
</HStack>

View File

@@ -46,10 +46,12 @@ export const PlayerFragment = gql`
}
daohausMemberships {
id
shares
moloch {
id
title
version
totalShares
}
}
}