fix(send): remove ternary
This commit is contained in:
parent
6f8f26d392
commit
d1b925d998
|
@ -934,7 +934,7 @@ class Component extends PureComponent<Props, State> {
|
||||||
onClose={this.reset}
|
onClose={this.reset}
|
||||||
renderTrigger={toggle => (
|
renderTrigger={toggle => (
|
||||||
<SendButtonWrapper>
|
<SendButtonWrapper>
|
||||||
{nodeSyncType === NODE_SYNC_TYPES.READY ? null : (
|
{nodeSyncType !== NODE_SYNC_TYPES.READY && (
|
||||||
<SimpleTooltip>
|
<SimpleTooltip>
|
||||||
<TooltipText value='Cannot send transaction until data is synced.' />
|
<TooltipText value='Cannot send transaction until data is synced.' />
|
||||||
</SimpleTooltip>
|
</SimpleTooltip>
|
||||||
|
|
Loading…
Reference in New Issue