Browse Source

hotfix(lint): fix recent lint errors

renovate/lint-staged-8.x
Jack Mallers 8 years ago
parent
commit
2b201481eb
  1. 3
      app/components/CryptoIcon/CryptoIcon.js
  2. 1
      app/routes/activity/components/components/Invoices.js
  3. 1
      app/routes/activity/components/components/Payments.js
  4. 2
      app/routes/wallet/components/components/Channels/components/ChannelForm/ChannelForm.js

3
app/components/CryptoIcon/CryptoIcon.js

@ -16,7 +16,8 @@ const CryptoIcon = ({ currency, styles }) => {
} }
CryptoIcon.propTypes = { CryptoIcon.propTypes = {
currency: PropTypes.string.isRequired currency: PropTypes.string.isRequired,
styles: PropTypes.object.isRequired
} }
export default CryptoIcon export default CryptoIcon

1
app/routes/activity/components/components/Invoices.js

@ -2,7 +2,6 @@ import React from 'react'
import PropTypes from 'prop-types' import PropTypes from 'prop-types'
import Moment from 'react-moment' import Moment from 'react-moment'
import 'moment-timezone' import 'moment-timezone'
import { FaBitcoin, FaDollar } from 'react-icons/lib/fa'
import { MdCheck } from 'react-icons/lib/md' import { MdCheck } from 'react-icons/lib/md'
import QRCode from 'qrcode.react' import QRCode from 'qrcode.react'
import Modal from './Modal' import Modal from './Modal'

1
app/routes/activity/components/components/Payments.js

@ -2,7 +2,6 @@ import React from 'react'
import PropTypes from 'prop-types' import PropTypes from 'prop-types'
import Moment from 'react-moment' import Moment from 'react-moment'
import 'moment-timezone' import 'moment-timezone'
import { FaBitcoin, FaDollar } from 'react-icons/lib/fa'
import Modal from './Modal' import Modal from './Modal'
import CurrencyIcon from '../../../../components/CurrencyIcon' import CurrencyIcon from '../../../../components/CurrencyIcon'
import { btc } from '../../../../utils' import { btc } from '../../../../utils'

2
app/routes/wallet/components/components/Channels/components/ChannelForm/ChannelForm.js

@ -1,7 +1,7 @@
import React from 'react' import React from 'react'
import PropTypes from 'prop-types' import PropTypes from 'prop-types'
import ReactModal from 'react-modal' import ReactModal from 'react-modal'
import { FaUser, FaBitcoin, FaDollar } from 'react-icons/lib/fa' import { FaUser } from 'react-icons/lib/fa'
import CurrencyIcon from '../../../../../../../components/CurrencyIcon' import CurrencyIcon from '../../../../../../../components/CurrencyIcon'
import { usd, btc } from '../../../../../../../utils' import { usd, btc } from '../../../../../../../utils'
import styles from './ChannelForm.scss' import styles from './ChannelForm.scss'

Loading…
Cancel
Save