Browse Source

Fixes complaints from npm run lint

renovate/lint-staged-8.x
Torkel Rogstad 7 years ago
parent
commit
31c62cad12
  1. 2
      app/components/LndSyncing/LndSyncing.js
  2. 12
      app/containers/Root.js
  3. 2
      app/reducers/channels.js

2
app/components/LndSyncing/LndSyncing.js

@ -4,7 +4,7 @@ import styles from './LndSyncing.scss'
class LndSyncing extends Component {
constructor(props) {
super(props);
super(props)
this.state = {
facts: [
{

12
app/containers/Root.js

@ -3,9 +3,10 @@ import React from 'react'
import { Provider, connect } from 'react-redux'
import { ConnectedRouter } from 'react-router-redux'
import PropTypes from 'prop-types'
import { fetchBlockHeight, lndSelectors } from 'reducers/lnd'
import LoadingBolt from 'components/LoadingBolt'
import LndSyncing from 'components/LndSyncing'
import LoadingBolt from '../components/LoadingBolt'
import LndSyncing from '../components/LndSyncing'
import { fetchBlockHeight, lndSelectors } from '../reducers/lnd'
import Routes from '../routes'
const mapDispatchToProps = {
@ -18,11 +19,6 @@ const mapStateToProps = state => ({
syncPercentage: lndSelectors.syncPercentage(state)
})
type RootType = {
store: {},
history: {}
};
const Root = ({
store,
history,

2
app/reducers/channels.js

@ -200,7 +200,7 @@ export const channelGraphData = (event, data) => (dispatch, getState) => {
dispatch(fetchDescribeNetwork())
// loop through the channel updates
for (let i = 0; i < channel_updates.length; i++) {
for (let i = 0; i < channel_updates.length; i += 1) {
const channel_update = channel_updates[i]
const { advertising_node, connecting_node } = channel_update

Loading…
Cancel
Save