@@ -3,7 +3,6 @@ import { Row, Col, H1, H3, P, Warning, Anchor } from '../components/Base'
33import { Button } from '../components/Base'
44
55import { BRIDGE_ERROR, renderTxnError } from '../lib/error'
6−
76import { NETWORK_NAMES } from '../lib/network'
87
98const Success = (props) => {
@@ -76,7 +75,7 @@ const Failure = (props) =>
7675 </Row>
7776
7877const SentTransaction = (props) => {
79− const { web3, txnCursor, networkType, popRoute } = props
78+ const { web3, txnHashCursor, networkType, popRoute } = props
8079 const { setPointCursor, pointCursor } = props
8180
8281 const w3 = web3.matchWith({
@@ -84,16 +83,16 @@ const SentTransaction = (props) => {
8483 Just: res => res.value
8584 })
8685
87− const result = txnCursor.matchWith({
86+ const result = txnHashCursor.matchWith({
8887 Nothing: _ => { throw BRIDGE_ERROR.MISSING_TXN },
8988 Just: res => res.value
9089 })
9190
9291 const body = result.matchWith({
9392 Error: message => <Failure web3={ w3 } message={ message.value } />,
94− Ok: txn =>
93+ Ok: hash =>
9594 <Success
96− hash={ txn.value.transactionHash }
95+ hash={ hash.value }
9796 networkType={ networkType }
9897 />
9998 })