File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
grant-explorer/src/features/projects Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -159,7 +159,10 @@ export default function ViewProject() {
159
159
: token . address ,
160
160
chainId : chainId ,
161
161
} ) ;
162
- return { token : token . address , balance : value / BigInt ( getMultiplier ( chainId ) ) } ;
162
+ return {
163
+ token : token . address ,
164
+ balance : value / BigInt ( getMultiplier ( chainId ) ) ,
165
+ } ;
163
166
} )
164
167
) ;
165
168
@@ -470,7 +473,7 @@ export default function ViewProject() {
470
473
471
474
const poolId = directAllocationPoolId . toString ( ) ;
472
475
473
- const recipient = project ?. roles ?. filter (
476
+ const recipient = project ?. projectRoles ?. filter (
474
477
( role ) => role . role === "OWNER"
475
478
) [ 0 ] . address ;
476
479
Original file line number Diff line number Diff line change @@ -97,14 +97,13 @@ const expectedProject: Project = {
97
97
} ,
98
98
metadataCid : "0xdeadbeef" ,
99
99
name : "Project test" ,
100
- nodeId : "0xdeadbeef" ,
101
100
projectNumber : null ,
102
101
registryAddress : "" ,
103
102
tags : [ ] ,
104
103
createdByAddress : "" ,
105
104
createdAtBlock : "" ,
106
105
updatedAtBlock : "" ,
107
- roles : [ ] ,
106
+ projectRoles : [ ] ,
108
107
projectType : "CANONICAL" ,
109
108
} ,
110
109
} ;
You can’t perform that action at this time.
0 commit comments