Skip to content

Commit

Permalink
fix: enable useDAOMakeProposal by default (#866)
Browse files Browse the repository at this point in the history
Signed-off-by: Norman Meier <[email protected]>
  • Loading branch information
n0izn0iz authored Jan 15, 2024
1 parent 4bb9255 commit 224bff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hooks/dao/useDAOMakeProposal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const useDAOMakeProposal = (
title: string;
},
) => {
if (!enabled) {
if (enabled === false) {
throw new Error("Hook is not enabled");
}

Expand Down

0 comments on commit 224bff7

Please sign in to comment.