Skip to content

Commit 32078b2

Browse files
committed
fixes
1 parent a918c0d commit 32078b2

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

packages/builder/tsconfig.tsbuildinfo

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

packages/grant-explorer/src/features/projects/ViewProject.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,10 @@ export default function ViewProject() {
159159
: token.address,
160160
chainId: chainId,
161161
});
162-
return { token: token.address, balance: value / BigInt(getMultiplier(chainId)) };
162+
return {
163+
token: token.address,
164+
balance: value / BigInt(getMultiplier(chainId)),
165+
};
163166
})
164167
);
165168

@@ -470,7 +473,7 @@ export default function ViewProject() {
470473

471474
const poolId = directAllocationPoolId.toString();
472475

473-
const recipient = project?.roles?.filter(
476+
const recipient = project?.projectRoles?.filter(
474477
(role) => role.role === "OWNER"
475478
)[0].address;
476479

packages/grant-explorer/src/features/projects/__tests__/ViewProject.test.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,13 @@ const expectedProject: Project = {
9797
},
9898
metadataCid: "0xdeadbeef",
9999
name: "Project test",
100-
nodeId: "0xdeadbeef",
101100
projectNumber: null,
102101
registryAddress: "",
103102
tags: [],
104103
createdByAddress: "",
105104
createdAtBlock: "",
106105
updatedAtBlock: "",
107-
roles: [],
106+
projectRoles: [],
108107
projectType: "CANONICAL",
109108
},
110109
};

0 commit comments

Comments
 (0)