Browse Source

fix(logs): remove debug logs

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
a91fc47662
  1. 11
      app/containers/Root.js
  2. 5
      app/routes/app/components/App.js

11
app/containers/Root.js

@ -11,6 +11,8 @@ const mapDispatchToProps = {
}
const mapStateToProps = state => ({
lnd: state.lnd,
syncPercentage: lndSelectors.syncPercentage(state)
})
@ -21,8 +23,13 @@ type RootType = {
class Root extends React.Component {
render() {
const { store, history, fetchBlockHeight, syncPercentage } = this.props
const { lnd } = store.getState()
const {
store,
history,
lnd,
fetchBlockHeight,
syncPercentage
} = this.props
if (lnd.syncing) {
return (

5
app/routes/app/components/App.js

@ -45,7 +45,10 @@ class App extends Component {
children
} = this.props
if (!currentTicker || balance.balanceLoading) { return <LoadingBolt /> }
if (!currentTicker || balance.balanceLoading) {
return <LoadingBolt />
}
return (
<div>

Loading…
Cancel
Save