Browse Source

fix(logs): remove debug logs

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

13
app/containers/Root.js

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

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

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

Loading…
Cancel
Save