Dont display timezone offset if the timezone is +0

This commit is contained in:
Marco van Dijk 2022-05-05 23:16:00 +02:00
parent 354ad1254a
commit d507b77c1b
2 changed files with 3 additions and 3 deletions

View File

@ -18,9 +18,10 @@ const Block = (obj) => {
<p style={{ overflowWrap: 'break-word' }}>
📅&nbsp;{thisLocalDate}
</p>
<p className='darkTextSmoll' style={{ overflowWrap: 'break-word' }}>
{thisOffset != 0 ? <p className='darkTextSmoll' style={{ overflowWrap: 'break-word' }}>
({thisOffset > 0 ? "+" : ""}{thisOffset})
</p>
</p> : null
}
</span>
</div>
)

View File

@ -170,7 +170,6 @@ const OrchInfoViewer = (obj) => {
</div>
<Address address={thisID} />
{ensUrl}
<div className="verticalDivider" />
{descriptionObj}
<div className="stretchAndBetween" style={{ borderTop: '2px solid rgba(15,15,15,0.05)', marginTop: '0.2em' }} >
<Stat header={"Earned Fees"} content1={totalVolumeETH + " Eth"} content2={"$" + totalVolumeUSD} />