Skip to content

Commit

Permalink
boost: move date up
Browse files Browse the repository at this point in the history
  • Loading branch information
mantikoros committed Feb 18, 2025
1 parent 773102e commit 08c9889
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions web/components/contract/add-boost-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,18 +103,6 @@ function BoostPurchaseModal(props: {
.format('MMM D')}`}
</div>

<Row className="items-center gap-2">
<Button
color="indigo"
onClick={purchaseBoost}
loading={loading}
disabled={notEnoughFunds}
className="w-full"
>
Purchase boost for{' '}
<TokenNumber className="mx-1" amount={BOOST_COST_MANA} />
</Button>
</Row>
<Row className="items-center gap-2">
<div className="text-ink-600">Start time:</div>
<Input
Expand All @@ -136,6 +124,18 @@ function BoostPurchaseModal(props: {
/>
</Row>

<Row className="items-center gap-2">
<Button
color="indigo"
onClick={purchaseBoost}
loading={loading}
disabled={notEnoughFunds}
className="w-full"
>
Purchase boost for{' '}
<TokenNumber className="mx-1" amount={BOOST_COST_MANA} />
</Button>
</Row>
{notEnoughFunds && (
<div className="text-ink-600 flex items-center gap-2 text-sm">
<span className="text-error">Insufficient balance</span>
Expand Down

0 comments on commit 08c9889

Please sign in to comment.