Skip to content

Commit

Permalink
Boosts cost mana, not sweepcash
Browse files Browse the repository at this point in the history
  • Loading branch information
sipec committed Sep 17, 2024
1 parent 48089ad commit b4c8e26
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions web/components/contract/boost-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function BoostFormRow(props: {
!costPerView || costPerView < MIN_AD_COST_PER_VIEW
? `Bid at least ${formatWithToken({
amount: MIN_AD_COST_PER_VIEW,
token: isCashContract ? 'CASH' : 'M$',
token: 'M$',
})}`
: undefined

Expand Down Expand Up @@ -161,7 +161,7 @@ function BoostFormRow(props: {
setError={(_e) => {}}
disabled={false}
quickButtonValues="large"
token={isCashContract ? 'CASH' : 'M$'}
token="M$"
/>
</Row>

Expand All @@ -175,12 +175,9 @@ function BoostFormRow(props: {
<AmountInput
amount={costPerView}
onChangeAmount={setCostPerView}
label={
isCashContract ? SWEEPIES_MONIKER : ENV_CONFIG.moneyMoniker
}
label={ENV_CONFIG.moneyMoniker}
error={!!error}
inputClassName="mr-2 w-36"
isSweepies={isCashContract}
/>
</Row>
{error && <div className="text-error text-right">{error}</div>}
Expand Down

0 comments on commit b4c8e26

Please sign in to comment.