@@ -8,7 +8,6 @@ import { ROUTE_NAMES } from '../lib/routeNames';
88import { useHistory } from '../store/history';
99import { BRIDGE_ERROR, renderTxnError } from '../lib/error';
1010import { NETWORK_TYPES } from '../lib/network';
11−import { useTxnConfirmations } from '../store/txnConfirmations';
1211import { useNetwork } from '../store/network';
1312import { useTxnCursor } from '../store/txnCursor';
1413import View from 'components/View';
@@ -39,7 +38,7 @@ class Success extends React.Component {
3938
4039 render() {
4140 const { props, state } = this;
42− const { networkType, hash, txnConfirmations } = props;
41+ const { networkType, hash } = props;
4342 const { pending } = state;
4443
4544 const esvisible =
@@ -67,9 +66,7 @@ class Success extends React.Component {
6766 </Anchor>
6867 );
6968
70− const confirmations = Maybe.fromNullable(txnConfirmations[hash]).getOrElse(
71− 0
72− );
69+ const confirmations = 1;
7370
7471 const requiredConfirmations = 1;
7572
@@ -115,7 +112,6 @@ const Failure = props => (
115112
116113function SentTransaction(props) {
117114 const history = useHistory();
118− const { txnConfirmations } = useTxnConfirmations();
119115 const { web3, networkType } = useNetwork();
120116 const { txnCursor } = useTxnCursor();
121117
@@ -132,13 +128,7 @@ function SentTransaction(props) {
132128
133129 const body = result.matchWith({
134130 Error: message => <Failure web3={w3} message={message.value} />,
135− Ok: hash => (
136− <Success
137− hash={hash.value}
138− networkType={networkType}
139− txnConfirmations={txnConfirmations}
140− />
141− ),
131+ Ok: hash => <Success hash={hash.value} networkType={networkType} />,
142132 });
143133
144134 const ok = (