From efe2905526be27f8a703f39a073861846ecfe9d0 Mon Sep 17 00:00:00 2001 From: apanizo Date: Sun, 27 May 2018 12:24:50 +0200 Subject: [PATCH] WA-238 Fix automic onClick calls --- .../safe/component/Transactions/Transaction/index.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/routes/safe/component/Transactions/Transaction/index.jsx b/src/routes/safe/component/Transactions/Transaction/index.jsx index c1956410..be4a18d5 100644 --- a/src/routes/safe/component/Transactions/Transaction/index.jsx +++ b/src/routes/safe/component/Transactions/Transaction/index.jsx @@ -27,9 +27,11 @@ type Props = Open & SelectorProps & { export const PROCESS_TXS = 'PROCESS TRANSACTION' class GnoTransaction extends React.PureComponent { + onProccesClick = () => this.props.onProcessTx(this.props.transaction, this.props.confirmed) + render() { const { - open, toggle, transaction, confirmed, safeName, onProcessTx, + open, toggle, transaction, confirmed, safeName, } = this.props const txHash = transaction.get('tx') @@ -68,7 +70,7 @@ class GnoTransaction extends React.PureComponent {