Skip to content

Commit

Permalink
fix: linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
0xExp-po committed Dec 9, 2024
1 parent 473de08 commit 3b66ef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dapp/src/components/page/governance/ProposalForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ const ProposalForm: React.FC = () => {
}

const space = await client.addSpace(delegation.ok);

await client.setCurrentSpace(space.did());

const proposalOutcome: ProposalOutcome = {
Expand Down Expand Up @@ -259,7 +259,7 @@ const ProposalForm: React.FC = () => {

window.location.href = `/governance?name=${projectName}`;
}
} catch (error : any) {
} catch (error: any) {
setIsLoading(false);
console.error("submit proposal error:", error.cause);
alert("Error submitting proposal.");
Expand Down

0 comments on commit 3b66ef1

Please sign in to comment.