withdrawal warning
This commit is contained in:
parent
a4699b79ed
commit
b8ef272784
|
@ -16,6 +16,8 @@ import { InfoTooltip } from 'web/components/info-tooltip'
|
||||||
import { BETTORS, PRESENT_BET } from 'common/user'
|
import { BETTORS, PRESENT_BET } from 'common/user'
|
||||||
import { buildArray } from 'common/util/array'
|
import { buildArray } from 'common/util/array'
|
||||||
import { useAdmin } from 'web/hooks/use-admin'
|
import { useAdmin } from 'web/hooks/use-admin'
|
||||||
|
import { AlertBox } from '../alert-box'
|
||||||
|
import { Spacer } from '../layout/spacer'
|
||||||
|
|
||||||
export function LiquidityBountyPanel(props: { contract: Contract }) {
|
export function LiquidityBountyPanel(props: { contract: Contract }) {
|
||||||
const { contract } = props
|
const { contract } = props
|
||||||
|
@ -115,7 +117,7 @@ function AddLiquidityPanel(props: { contract: CPMMContract }) {
|
||||||
<div className="mb-4 text-gray-500">
|
<div className="mb-4 text-gray-500">
|
||||||
Contribute your M$ to make this market more accurate.{' '}
|
Contribute your M$ to make this market more accurate.{' '}
|
||||||
<InfoTooltip
|
<InfoTooltip
|
||||||
text={`More liquidity stabilizes the market, encouraging ${BETTORS} to ${PRESENT_BET}. You can withdraw your subsidy at any time.`}
|
text={`More liquidity stabilizes the market, encouraging ${BETTORS} to ${PRESENT_BET}.`}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -142,6 +144,12 @@ function AddLiquidityPanel(props: { contract: CPMMContract }) {
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{isLoading && <div>Processing...</div>}
|
{isLoading && <div>Processing...</div>}
|
||||||
|
|
||||||
|
<Spacer h={2} />
|
||||||
|
<AlertBox
|
||||||
|
title="Withdrawals ending"
|
||||||
|
text="Manifold is moving to a new system for handling subsidization. As part of this process, liquidity withdrawals will be disabled shortly. Feel free to withdraw any outstanding liquidity you've added now."
|
||||||
|
/>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user