Skip to content

Commit 11ec47e

Browse files
committed
Governance - Able to submit expedited proposal with less than 5000 LUME
1 parent 9bea941 commit 11ec47e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

apps/web/src/components/CreateProposalModal.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -432,9 +432,12 @@ export default function CreateProposalModal({
432432
<CheckIcon />
433433
</Checkbox.Indicator>
434434
</Checkbox>
435-
<label htmlFor="isExpedited" className="ml-2 flex items-center gap-2 text-sm text-gray-300">
436-
Expedited Proposal (requires higher deposit) <Tooltip icon={<Info />} content={getExpeditedProposalTooltip()} />
437-
</label>
435+
<div className='flex items-center gap-2'>
436+
<label htmlFor="isExpedited" className="ml-2 text-sm text-gray-300">
437+
Expedited Proposal (requires higher deposit)
438+
</label>
439+
<Tooltip icon={<Info />} content={getExpeditedProposalTooltip()} />
440+
</div>
438441
</div>
439442
</div>
440443
)}

apps/web/src/hooks/useGovernances.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ const useGovernances = () => {
256256
setTransactionHash('');
257257
setStep(1);
258258
setCurrentTab('');
259+
setRequiredDeposit(GOVERNANCE_STATS.depositRequired);
259260
}
260261

261262
const handleOpenCreateProposalModal = () => {

0 commit comments

Comments
 (0)