Browse Source

fix(app.js): remove unused prop vars from app.js

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
3750138bf2
  1. 44
      app/routes/app/components/App.js

44
app/routes/app/components/App.js

@ -21,29 +21,13 @@ class App extends Component {
hideModal, hideModal,
ticker, ticker,
balance, balance,
invoice: { formInvoice },
form, form,
setAmount,
setOnchainAmount,
setMessage,
setPubkey,
setPaymentRequest,
transaction: { sendingTransaction },
peers,
setCurrency, setCurrency,
setForm,
createInvoice,
payInvoice,
sendCoins,
fetchInvoice,
currentTicker, currentTicker,
isOnchain,
isLn,
openPayForm, openPayForm,
openRequestForm, openRequestForm,
formProps, formProps,
closeForm, closeForm,
children children
@ -82,30 +66,20 @@ class App extends Component {
App.propTypes = { App.propTypes = {
modal: PropTypes.object.isRequired, modal: PropTypes.object.isRequired,
hideModal: PropTypes.func.isRequired,
fetchTicker: PropTypes.func.isRequired,
fetchBalance: PropTypes.func.isRequired,
ticker: PropTypes.object.isRequired, ticker: PropTypes.object.isRequired,
balance: PropTypes.object.isRequired, balance: PropTypes.object.isRequired,
invoice: PropTypes.object.isRequired,
form: PropTypes.object.isRequired, form: PropTypes.object.isRequired,
setAmount: PropTypes.func.isRequired, payform: PropTypes.object.isRequired,
setOnchainAmount: PropTypes.func.isRequired, requestform: PropTypes.object.isRequired,
setMessage: PropTypes.func.isRequired,
setPubkey: PropTypes.func.isRequired,
setPaymentRequest: PropTypes.func.isRequired,
transaction: PropTypes.object.isRequired,
peers: PropTypes.array,
setCurrency: PropTypes.func.isRequired,
setForm: PropTypes.func.isRequired,
createInvoice: PropTypes.func.isRequired,
payInvoice: PropTypes.func.isRequired,
sendCoins: PropTypes.func.isRequired,
fetchInvoice: PropTypes.func.isRequired,
fetchInfo: PropTypes.func.isRequired, fetchInfo: PropTypes.func.isRequired,
hideModal: PropTypes.func.isRequired,
fetchTicker: PropTypes.func.isRequired,
fetchBalance: PropTypes.func.isRequired,
setCurrency: PropTypes.func.isRequired,
currentTicker: PropTypes.object, currentTicker: PropTypes.object,
isOnchain: PropTypes.bool.isRequired,
isLn: PropTypes.bool.isRequired,
children: PropTypes.object.isRequired children: PropTypes.object.isRequired
} }

Loading…
Cancel
Save