parent
5211a006ba
commit
2e9a94269e
@ -22,7 +22,7 @@ function Auction ({ auctionInfo, className, winningData }: Props): React.ReactEl
|
||||
|
||||
const headerRef = useRef([
|
||||
[t('bids'), 'start', 4],
|
||||
[t('slots')],
|
||||
[t('periods')],
|
||||
[t('value')]
|
||||
]);
|
||||
|
||||
|
||||
@ -66,16 +66,16 @@ function Bid ({ auctionInfo, className, ownedIds }: Props): React.ReactElement<P
|
||||
onChange={setOwnerInfo}
|
||||
ownedIds={ownedIds}
|
||||
/>
|
||||
<Modal.Columns hint={t<string>('The amount to to bid for this parachain slot')}>
|
||||
<Modal.Columns hint={t<string>('The amount to to bid for this parachain period range.')}>
|
||||
<InputBalance
|
||||
isZeroable={false}
|
||||
label={t<string>('bid amount')}
|
||||
onChange={setAmount}
|
||||
/>
|
||||
</Modal.Columns>
|
||||
<Modal.Columns hint={t<string>('The first and last slots for this bid. The last slot should be after the first and a maximum of 3 slots more than the first')}>
|
||||
<Modal.Columns hint={t<string>('The first and last lease period for this bid. The last lease period should be after the first and a maximum of 3 more than the first.')}>
|
||||
<Dropdown
|
||||
label={t<string>('bid slot range (first slot - last slot)')}
|
||||
label={t<string>('bid period range (first period - last period)')}
|
||||
onChange={setRange}
|
||||
options={rangeOpts}
|
||||
value={range}
|
||||
|
||||
@ -73,20 +73,20 @@ function FundAdd ({ auctionInfo, bestNumber, className, leasePeriod, ownedIds }:
|
||||
</Modal.Columns>
|
||||
<Modal.Columns hint={
|
||||
<>
|
||||
<p>{t<string>('The first and last slots for this funding campaign.')}</p>
|
||||
<p>{t<string>('The last slot should be after the first and a maximum of 3 slots more than the first')}</p>
|
||||
<p>{t<string>('The first and last lease periods for this funding campaign.')}</p>
|
||||
<p>{t<string>('The ending lease period should be after the first and a maximum of 3 periods more than the first')}</p>
|
||||
</>
|
||||
}>
|
||||
<InputNumber
|
||||
defaultValue={defaultSlot}
|
||||
isError={isFirstError}
|
||||
label={t<string>('first slot')}
|
||||
label={t<string>('first period')}
|
||||
onChange={setFirstSlot}
|
||||
/>
|
||||
<InputNumber
|
||||
defaultValue={defaultSlot}
|
||||
isError={isLastError}
|
||||
label={t<string>('last slot')}
|
||||
label={t<string>('last period')}
|
||||
onChange={setLastSlot}
|
||||
/>
|
||||
</Modal.Columns>
|
||||
|
||||
@ -29,7 +29,7 @@ function Funds ({ bestNumber, className, value }: Props): React.ReactElement<Pro
|
||||
const headerActiveRef = useRef([
|
||||
[t('ongoing'), 'start', 4],
|
||||
[t('ending')],
|
||||
[t('slots')],
|
||||
[t('periods')],
|
||||
[t('raised')],
|
||||
[]
|
||||
]);
|
||||
@ -37,7 +37,7 @@ function Funds ({ bestNumber, className, value }: Props): React.ReactElement<Pro
|
||||
const headedEndedRef = useRef([
|
||||
[t('completed'), 'start', 4],
|
||||
[t('ended')],
|
||||
[t('slots')],
|
||||
[t('periods')],
|
||||
[t('raised')]
|
||||
]);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user