Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
fix check PoolMembership
Browse files Browse the repository at this point in the history
  • Loading branch information
EugenWay committed Oct 4, 2023
1 parent 5f8c122 commit 4c1ff4a
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/contexts/Pools/PoolMemberships/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,15 @@ export const PoolMembershipsProvider = ({
? rmCommas(membership.points)
: '0';

const balance =
(
await api.call.nominationPoolsApi.pointsToBalance(
membership.poolId,
membership.points
)
)?.toString() || '0';
// const balance =
// (
// await api.call.nominationPoolsApi.pointsToBalance(
// membership.poolId,
// membership.points
// )
// )?.toString() || '0';

const balance = '0';

membership = {
...membership,
Expand Down

0 comments on commit 4c1ff4a

Please sign in to comment.