withdrawal warning

This commit is contained in:
mantikoros 2022-10-10 13:01:57 -05:00
parent a4699b79ed
commit b8ef272784

View File

@ -16,6 +16,8 @@ import { InfoTooltip } from 'web/components/info-tooltip'
import { BETTORS, PRESENT_BET } from 'common/user'
import { buildArray } from 'common/util/array'
import { useAdmin } from 'web/hooks/use-admin'
import { AlertBox } from '../alert-box'
import { Spacer } from '../layout/spacer'
export function LiquidityBountyPanel(props: { contract: Contract }) {
const { contract } = props
@ -115,7 +117,7 @@ function AddLiquidityPanel(props: { contract: CPMMContract }) {
<div className="mb-4 text-gray-500">
Contribute your M$ to make this market more accurate.{' '}
<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>
@ -142,6 +144,12 @@ function AddLiquidityPanel(props: { contract: CPMMContract }) {
)}
{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."
/>
</>
)
}