Skip to content

Commit

Permalink
Merge pull request #419 from HausDAO/feature/update-proposal-query-sp…
Browse files Browse the repository at this point in the history
…onsor-del-shares

updates prop query
  • Loading branch information
skuhlmann authored Sep 14, 2023
2 parents 5868d44 + 3a03eda commit b7f6d1d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/admin/src/components/CancelProposal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const CancelProposal = ({
proposal.createdBy.toLowerCase() === address?.toLowerCase();

const sponsorBelowThreshold =
Number(proposal.sponsorMembership?.shares) <
Number(proposal.sponsorMembership?.delegateShares) <
Number(dao?.sponsorThreshold);

const isGovernorShaman = dao?.shamen?.some((shaman) => {
Expand Down
2 changes: 1 addition & 1 deletion apps/admin/src/pages/NewProposal.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useMemo } from 'react';
import { useLocation, useNavigate, useParams } from 'react-router-dom';
import { useLocation, useNavigate } from 'react-router-dom';

import { FormBuilder } from '@daohaus/form-builder';
import {
Expand Down
Loading

0 comments on commit b7f6d1d

Please sign in to comment.