Linting/quick wins modal & pages (#2086)

* fix linting for affirmPurchase modal

* fix linting for confirmTransaction modal

* fix linting for error modal

* fix linting for filetimeout modal

* fix linting for first transaction modal

* fix linting for incompatible daemon  modal

* fix linting for external link modal

* fix linting for remove file  modal

* fix linting for revoke claim modal

* fix linting for reward approval  modal

* fix linting for send tip modal

* fix linting for welcome modal

* fix linting for page files
This commit is contained in:
Anna Melzer 2018-11-01 22:55:25 +01:00 committed by Sean Yesmunt
parent b23a6be445
commit bbf6696054
16 changed files with 58 additions and 18 deletions

View file

@ -16,4 +16,7 @@ const perform = dispatch => ({
loadVideo: uri => dispatch(doLoadVideo(uri)),
});
export default connect(select, perform)(ModalAffirmPurchase);
export default connect(
select,
perform
)(ModalAffirmPurchase);

View file

@ -7,4 +7,7 @@ const perform = dispatch => ({
sendToAddress: (address, amount) => dispatch(doSendDraftTransaction(address, amount)),
});
export default connect(null, perform)(ModalConfirmTransaction);
export default connect(
null,
perform
)(ModalConfirmTransaction);

View file

@ -6,4 +6,7 @@ const perform = dispatch => ({
closeModal: () => dispatch(doHideNotification()),
});
export default connect(null, perform)(ModalError);
export default connect(
null,
perform
)(ModalError);

View file

@ -10,4 +10,7 @@ const perform = dispatch => ({
closeModal: () => dispatch(doHideNotification()),
});
export default connect(select, perform)(ModalFileTimeout);
export default connect(
select,
perform
)(ModalFileTimeout);

View file

@ -8,4 +8,7 @@ const perform = dispatch => () => ({
navigate: path => dispatch(doNavigate(path)),
});
export default connect(null, perform)(ModalFirstSubscription);
export default connect(
null,
perform
)(ModalFirstSubscription);

View file

@ -7,4 +7,7 @@ const perform = dispatch => ({
quitAnyDaemon: () => dispatch(doQuitAnyDaemon()),
});
export default connect(null, perform)(ModalIncompatibleDaemon);
export default connect(
null,
perform
)(ModalIncompatibleDaemon);

View file

@ -6,4 +6,7 @@ const perform = dispatch => ({
closeModal: () => dispatch(doHideNotification()),
});
export default connect(null, perform)(ModalOpenExternalLink);
export default connect(
null,
perform
)(ModalOpenExternalLink);

View file

@ -21,4 +21,7 @@ const perform = dispatch => ({
},
});
export default connect(select, perform)(ModalRemoveFile);
export default connect(
select,
perform
)(ModalRemoveFile);

View file

@ -11,4 +11,7 @@ const perform = dispatch => ({
abandonClaim: (txid, nout) => dispatch(doAbandonClaim(txid, nout)),
});
export default connect(select, perform)(ModalRevokeClaim);
export default connect(
select,
perform
)(ModalRevokeClaim);

View file

@ -11,4 +11,7 @@ const perform = dispatch => ({
closeModal: () => dispatch(doHideNotification()),
});
export default connect(null, perform)(ModalRewardApprovalRequired);
export default connect(
null,
perform
)(ModalRewardApprovalRequired);

View file

@ -6,4 +6,7 @@ const perform = dispatch => ({
closeModal: () => dispatch(doHideNotification()),
});
export default connect(null, perform)(ModalSendTip);
export default connect(
null,
perform
)(ModalSendTip);

View file

@ -11,4 +11,7 @@ const perform = dispatch => () => ({
},
});
export default connect(null, perform)(ModalWelcome);
export default connect(
null,
perform
)(ModalWelcome);

View file

@ -1,4 +1,3 @@
import { connect } from 'react-redux';
import ReportPage from './view';
export default connect(null, null)(ReportPage);
export default ReportPage;

View file

@ -17,4 +17,7 @@ const perform = dispatch => ({
resolveUri: uri => dispatch(doResolveUri(uri)),
});
export default connect(select, perform)(ShowPage);
export default connect(
select,
perform
)(ShowPage);

View file

@ -15,4 +15,7 @@ const perform = dispatch => ({
fetchTransactions: () => dispatch(doFetchTransactions()),
});
export default connect(select, perform)(TransactionHistoryPage);
export default connect(
select,
perform
)(TransactionHistoryPage);

View file

@ -1,4 +1,3 @@
import { connect } from 'react-redux';
import UserHistoryPage from './view';
export default connect(null, null)(UserHistoryPage);
export default UserHistoryPage;