Fix missing whitespace in required confirmation text

This commit is contained in:
Mikhail Mikheev 2019-10-04 15:01:11 +04:00
parent 327eab958e
commit 0378470ba6
4 changed files with 5 additions and 25 deletions

View File

@ -76,12 +76,7 @@ const ReviewAddOwner = ({
Any transaction requires the confirmation of:
</Paragraph>
<Paragraph size="lg" color="primary" noMargin weight="bolder" className={classes.name}>
{values.threshold}
{' '}
out of
{owners.size + 1}
{' '}
owner(s)
{`${values.threshold} out of ${owners.size + 1} owner(s)`}
</Paragraph>
</Block>
</Block>

View File

@ -87,12 +87,7 @@ const ReviewRemoveOwner = ({
Any transaction requires the confirmation of:
</Paragraph>
<Paragraph size="lg" color="primary" noMargin weight="bolder" className={classes.name}>
{values.threshold}
{' '}
out of
{owners.size - 1}
{' '}
owner(s)
{`${values.threshold} out of ${owners.size - 1} owner(s)`}
</Paragraph>
</Block>
</Block>

View File

@ -89,13 +89,7 @@ const ReviewRemoveOwner = ({
Any transaction requires the confirmation of:
</Paragraph>
<Paragraph size="lg" color="primary" noMargin weight="bolder" className={classes.name}>
{threshold}
{' '}
out of
{' '}
{owners.size}
{' '}
owner(s)
{`${threshold} out of ${owners.size} owner(s)`}
</Paragraph>
</Block>
</Block>

View File

@ -70,7 +70,7 @@ const ChangeThreshold = ({
<Col xs={2}>
<Field
name={THRESHOLD_FIELD_NAME}
render={(props) => (
render={(props: Object) => (
<>
<SelectField {...props} disableError>
{[...Array(Number(owners.size))].map((x, index) => (
@ -92,11 +92,7 @@ const ChangeThreshold = ({
</Col>
<Col xs={10}>
<Paragraph size="lg" color="primary" noMargin className={classes.ownersText}>
out of
{' '}
{owners.size}
{' '}
owner(s)
{`out of ${owners.size} owner(s)`}
</Paragraph>
</Col>
</Row>