Skip to content

Commit

Permalink
fix: OPProposalPage bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jjranalli committed Jan 11, 2024
1 parent b9e2395 commit 04e8a6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Proposals/ProposalCreation/InfoPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ export default function InfoPanel() {
</p>
<p>
<span className="font-semibold">3. Create your proposal</span>
<br />
Now that the vote and proposal type are set, you can use this form to
creat your proposal. Proposed transactions are optional, as the Token
House governor is not executable for now.
<br />
</p>
<p>
<span className="font-semibold">4. Get signatures for your SAFE</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ async function fetchVotingPower(address, blockNumber) {
"use server";

return {
votingPower: (await getVotingPowerAtSnapshot({ blockNumber, address }))
.totalVP,
votingPower: (
await getVotingPowerAtSnapshot({ blockNumber, addressOrENSName: address })
).totalVP,
};
}

Expand Down

0 comments on commit 04e8a6f

Please sign in to comment.