fix(send): remove ternary

This commit is contained in:
George Lima 2019-04-11 09:32:46 -03:00
parent 6f8f26d392
commit d1b925d998
1 changed files with 1 additions and 1 deletions

View File

@ -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>