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:
parent
b23a6be445
commit
bbf6696054
16 changed files with 58 additions and 18 deletions
|
@ -16,4 +16,7 @@ const perform = dispatch => ({
|
|||
loadVideo: uri => dispatch(doLoadVideo(uri)),
|
||||
});
|
||||
|
||||
export default connect(select, perform)(ModalAffirmPurchase);
|
||||
export default connect(
|
||||
select,
|
||||
perform
|
||||
)(ModalAffirmPurchase);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -6,4 +6,7 @@ const perform = dispatch => ({
|
|||
closeModal: () => dispatch(doHideNotification()),
|
||||
});
|
||||
|
||||
export default connect(null, perform)(ModalError);
|
||||
export default connect(
|
||||
null,
|
||||
perform
|
||||
)(ModalError);
|
||||
|
|
|
@ -10,4 +10,7 @@ const perform = dispatch => ({
|
|||
closeModal: () => dispatch(doHideNotification()),
|
||||
});
|
||||
|
||||
export default connect(select, perform)(ModalFileTimeout);
|
||||
export default connect(
|
||||
select,
|
||||
perform
|
||||
)(ModalFileTimeout);
|
||||
|
|
|
@ -8,4 +8,7 @@ const perform = dispatch => () => ({
|
|||
navigate: path => dispatch(doNavigate(path)),
|
||||
});
|
||||
|
||||
export default connect(null, perform)(ModalFirstSubscription);
|
||||
export default connect(
|
||||
null,
|
||||
perform
|
||||
)(ModalFirstSubscription);
|
||||
|
|
|
@ -7,4 +7,7 @@ const perform = dispatch => ({
|
|||
quitAnyDaemon: () => dispatch(doQuitAnyDaemon()),
|
||||
});
|
||||
|
||||
export default connect(null, perform)(ModalIncompatibleDaemon);
|
||||
export default connect(
|
||||
null,
|
||||
perform
|
||||
)(ModalIncompatibleDaemon);
|
||||
|
|
|
@ -6,4 +6,7 @@ const perform = dispatch => ({
|
|||
closeModal: () => dispatch(doHideNotification()),
|
||||
});
|
||||
|
||||
export default connect(null, perform)(ModalOpenExternalLink);
|
||||
export default connect(
|
||||
null,
|
||||
perform
|
||||
)(ModalOpenExternalLink);
|
||||
|
|
|
@ -21,4 +21,7 @@ const perform = dispatch => ({
|
|||
},
|
||||
});
|
||||
|
||||
export default connect(select, perform)(ModalRemoveFile);
|
||||
export default connect(
|
||||
select,
|
||||
perform
|
||||
)(ModalRemoveFile);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -11,4 +11,7 @@ const perform = dispatch => ({
|
|||
closeModal: () => dispatch(doHideNotification()),
|
||||
});
|
||||
|
||||
export default connect(null, perform)(ModalRewardApprovalRequired);
|
||||
export default connect(
|
||||
null,
|
||||
perform
|
||||
)(ModalRewardApprovalRequired);
|
||||
|
|
|
@ -6,4 +6,7 @@ const perform = dispatch => ({
|
|||
closeModal: () => dispatch(doHideNotification()),
|
||||
});
|
||||
|
||||
export default connect(null, perform)(ModalSendTip);
|
||||
export default connect(
|
||||
null,
|
||||
perform
|
||||
)(ModalSendTip);
|
||||
|
|
|
@ -11,4 +11,7 @@ const perform = dispatch => () => ({
|
|||
},
|
||||
});
|
||||
|
||||
export default connect(null, perform)(ModalWelcome);
|
||||
export default connect(
|
||||
null,
|
||||
perform
|
||||
)(ModalWelcome);
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { connect } from 'react-redux';
|
||||
import ReportPage from './view';
|
||||
|
||||
export default connect(null, null)(ReportPage);
|
||||
export default ReportPage;
|
||||
|
|
|
@ -17,4 +17,7 @@ const perform = dispatch => ({
|
|||
resolveUri: uri => dispatch(doResolveUri(uri)),
|
||||
});
|
||||
|
||||
export default connect(select, perform)(ShowPage);
|
||||
export default connect(
|
||||
select,
|
||||
perform
|
||||
)(ShowPage);
|
||||
|
|
|
@ -15,4 +15,7 @@ const perform = dispatch => ({
|
|||
fetchTransactions: () => dispatch(doFetchTransactions()),
|
||||
});
|
||||
|
||||
export default connect(select, perform)(TransactionHistoryPage);
|
||||
export default connect(
|
||||
select,
|
||||
perform
|
||||
)(TransactionHistoryPage);
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { connect } from 'react-redux';
|
||||
import UserHistoryPage from './view';
|
||||
|
||||
export default connect(null, null)(UserHistoryPage);
|
||||
export default UserHistoryPage;
|
||||
|
|
Loading…
Reference in a new issue