remove uppercasing of name

This commit is contained in:
Barry Gitarts 2018-08-10 15:15:39 -04:00
parent fc4d1327db
commit c74c0a1682
2 changed files with 4 additions and 4 deletions

View File

@ -68,7 +68,7 @@ const MobileAddressDisplay = ({ domainName, address, statusAccount, expirationTi
{ display: 'flex', flexDirection: 'column', alignItems: 'center', justifyContent: 'space-evenly', height: '4em', color: '#ffffff', textAlign: 'center', margin: '10%' } { display: 'flex', flexDirection: 'column', alignItems: 'center', justifyContent: 'space-evenly', height: '4em', color: '#ffffff', textAlign: 'center', margin: '10%' }
}> }>
{isOwner ? <Face style={{ marginBottom: '0.5em', fontSize: '2em' }} /> : <NotInterested style={{ marginBottom: '0.5em', fontSize: '2em' }}/>} {isOwner ? <Face style={{ marginBottom: '0.5em', fontSize: '2em' }} /> : <NotInterested style={{ marginBottom: '0.5em', fontSize: '2em' }}/>}
<b>{formatName(domainName).toUpperCase()}</b> <b>{formatName(domainName)}</b>
<div style={{ fontWeight: 300 }}> <div style={{ fontWeight: 300 }}>
{expirationTime && <i>Locked until {generatePrettyDate(expirationTime)}</i>} {expirationTime && <i>Locked until {generatePrettyDate(expirationTime)}</i>}
</div> </div>
@ -95,7 +95,7 @@ class RenderAddresses extends PureComponent {
<Fragment> <Fragment>
<Hidden mdDown> <Hidden mdDown>
<div style={{ display: 'flex', flexDirection: 'column' }}> <div style={{ display: 'flex', flexDirection: 'column' }}>
<Info.Action title="Click to copy"><b>{formatName(domainName).toUpperCase()}</b>{expirationTime && <i> (Expires {generatePrettyDate(expirationTime)})</i>} Resolves To:</Info.Action> <Info.Action title="Click to copy"><b>{formatName(domainName)}</b>{expirationTime && <i> (Expires {generatePrettyDate(expirationTime)})</i>} Resolves To:</Info.Action>
{address && <Text style={{ marginTop: '1em' }}>Ethereum Address {renderCopied(address)}</Text>} {address && <Text style={{ marginTop: '1em' }}>Ethereum Address {renderCopied(address)}</Text>}
<CopyToClipboard text={address} onCopy={markCopied}> <CopyToClipboard text={address} onCopy={markCopied}>
<div style={addressStyle}>{address}</div> <div style={addressStyle}>{address}</div>
@ -200,7 +200,7 @@ const DisplayAddress = connect(mapStateToProps)((props) => (
: :
<Hidden mdUp> <Hidden mdUp>
<Info.Action title="No address is associated with this domain"> <Info.Action title="No address is associated with this domain">
{props.domainName.toUpperCase()} {props.domainName}
</Info.Action> </Info.Action>
</Hidden> </Hidden>
} }

View File

@ -66,7 +66,7 @@ class TokenHandle extends PureComponent {
checked={!!Number(approved)} checked={!!Number(approved)}
name={symbol} name={symbol}
onChange={this.toggleApproved} /> onChange={this.toggleApproved} />
<label style={{ margin: '2px 0px 0px 10px', fontWeight: 400 }}>{`${Number(fromWei(account[BALANCE_KEYS[symbol]])).toLocaleString()} ${symbol.toUpperCase()}`}</label> <label style={{ margin: '2px 0px 0px 10px', fontWeight: 400 }}>{`${Number(fromWei(account[BALANCE_KEYS[symbol]])).toLocaleString()} ${symbol}`}</label>
</div>} </div>}
{isLoading || updating && <CircularProgress />} {isLoading || updating && <CircularProgress />}
</Fragment> </Fragment>