File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
round-manager/src/features/round Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -831,13 +831,13 @@ export class DataLayer {
831
831
roundId : string ;
832
832
projectId : string ;
833
833
} ) : Promise < RoundApplicationPayout > {
834
- const response : { round : RoundApplicationPayout } = await request (
834
+ const response : { rounds : RoundApplicationPayout [ ] } = await request (
835
835
this . gsIndexerEndpoint ,
836
836
getPayoutsByChainIdRoundIdProjectId ,
837
837
args ,
838
838
) ;
839
839
840
- return response . round ;
840
+ return response . rounds [ 0 ] ;
841
841
}
842
842
843
843
/**
Original file line number Diff line number Diff line change @@ -37,7 +37,9 @@ export function usePayouts(args: {
37
37
let mappedPayouts = payouts . map ( ( payout ) => {
38
38
return {
39
39
applicationIndex : Number ( result . applications [ 0 ] . id ) ,
40
- amount : payout . amount ,
40
+ amount : Number ( payout . amount ) . toLocaleString ( "fullwide" , {
41
+ useGrouping : false ,
42
+ } ) ,
41
43
createdAt : payout . timestamp ,
42
44
txnHash : payout . transactionHash ,
43
45
tokenAddress : payout . tokenAddress ,
You can’t perform that action at this time.
0 commit comments