@@ -19,6 +19,7 @@ import { NetworkProvider } from './store/network';
1919import { WalletProvider } from './store/wallet';
2020import { PointCursorProvider } from './store/pointCursor';
2121import { PointCacheProvider } from './store/pointCache';
22+import { TxnCursorProvider } from './store/txnCursor';
2223
2324const kInitialNetworkType = isDevelopment
2425 ? NETWORK_TYPES.LOCAL
@@ -88,6 +89,7 @@ const AllProviders = nest([
8889 WalletProvider,
8990 PointCursorProvider,
9091 PointCacheProvider,
92+ TxnCursorProvider,
9193]);
9294
9395class Bridge extends React.Component {
@@ -96,12 +98,8 @@ class Bridge extends React.Component {
9698
9799 this.state = {
98100 networkSeedCache: null,
99− // txn
100− txnHashCursor: Nothing(),
101− txnConfirmations: {},
102101 };
103102
104− this.setTxnHashCursor = this.setTxnHashCursor.bind(this);
105103 this.setNetworkSeedCache = this.setNetworkSeedCache.bind(this);
106104 }
107105
@@ -112,16 +110,8 @@ class Bridge extends React.Component {
112110 });
113111 }
114112
115− setTxnHashCursor(txnHashCursor) {
116− this.setState({ txnHashCursor });
117− }
118−
119113 render() {
120− const {
121− networkSeedCache,
122− networkRevisionCache,
123− txnHashCursor,
124− } = this.state;
114+ const { networkSeedCache, networkRevisionCache } = this.state;
125115
126116 return (
127117 <AllProviders
@@ -140,9 +130,6 @@ class Bridge extends React.Component {
140130 networkSeedCache={networkSeedCache}
141131 networkRevisionCache={networkRevisionCache}
142132 setNetworkSeedCache={this.setNetworkSeedCache}
143− onSent={this.setTxnHashCursor}
144− setTxnHashCursor={this.setTxnHashCursor}
145− txnHashCursor={txnHashCursor}
146133 />
147134
148135 <div className={'push'} />