From 980f240884ec3fc3cf69d2df45bd0f96a5c7147f Mon Sep 17 00:00:00 2001 From: meriadec Date: Fri, 26 Jan 2018 10:06:17 +0100 Subject: [PATCH] Update TopBar style --- src/components/TopBar.js | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/src/components/TopBar.js b/src/components/TopBar.js index beb0f983..761d0941 100644 --- a/src/components/TopBar.js +++ b/src/components/TopBar.js @@ -1,6 +1,6 @@ // @flow -import React, { PureComponent, Fragment } from 'react' +import React, { PureComponent } from 'react' import { connect } from 'react-redux' import { ipcRenderer } from 'electron' @@ -97,25 +97,23 @@ class TopBar extends PureComponent { const { sync } = this.state return ( - - - - {sync.progress === true - ? 'sync...' - : sync.fail === true ? 'sync fail :(' : 'sync finish!'} - - - {hasPassword && } - - + + + {sync.progress === true + ? 'Synchronizing...' + : sync.fail === true ? 'Synchronization fail :(' : 'Synchronisation finished!'} - + + {hasPassword && } + + + ) } } const CountDevices = ({ count } = { count: Number }) => ( - +