Default treasury to accept (#3737)
This commit is contained in:
parent
0f765e6241
commit
a17d09dd4e
@ -27,7 +27,7 @@ function Council ({ id, isDisabled, members }: Props): React.ReactElement<Props>
|
||||
const { api } = useApi();
|
||||
const [isOpen, toggleOpen] = useToggle();
|
||||
const [accountId, setAccountId] = useState<string | null>(null);
|
||||
const [councilType, setCouncilType] = useState('reject');
|
||||
const [councilType, setCouncilType] = useState('accept');
|
||||
const [{ proposal, proposalLength }, setProposal] = useState<ProposalState>({ proposalLength: 0 });
|
||||
|
||||
const threshold = Math.ceil((members?.length || 0) * getTreasuryThreshold(api));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user