File tree Expand file tree Collapse file tree
round-manager/src/features/round Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -831,13 +831,13 @@ export class DataLayer {
831831 roundId : string ;
832832 projectId : string ;
833833 } ) : Promise < RoundApplicationPayout > {
834- const response : { round : RoundApplicationPayout } = await request (
834+ const response : { rounds : RoundApplicationPayout [ ] } = await request (
835835 this . gsIndexerEndpoint ,
836836 getPayoutsByChainIdRoundIdProjectId ,
837837 args ,
838838 ) ;
839839
840- return response . round ;
840+ return response . rounds [ 0 ] ;
841841 }
842842
843843 /**
Original file line number Diff line number Diff line change @@ -37,7 +37,9 @@ export function usePayouts(args: {
3737 let mappedPayouts = payouts . map ( ( payout ) => {
3838 return {
3939 applicationIndex : Number ( result . applications [ 0 ] . id ) ,
40- amount : payout . amount ,
40+ amount : Number ( payout . amount ) . toLocaleString ( "fullwide" , {
41+ useGrouping : false ,
42+ } ) ,
4143 createdAt : payout . timestamp ,
4244 txnHash : payout . transactionHash ,
4345 tokenAddress : payout . tokenAddress ,
You can’t perform that action at this time.
0 commit comments