@@ -6,14 +6,13 @@ import React from 'react'
66import Footer from './components/Footer'
77import Header from './components/Header'
88import { Container, Row, Col } from './components/Base'
9+import { AppNavigation } from './components/AppNavigation'
910
1011import { ROUTE_NAMES, router } from './lib/router'
1112import { NETWORK_NAMES } from './lib/network'
1213import { WALLET_NAMES, DEFAULT_HD_PATH } from './lib/wallet'
1314import { BRIDGE_ERROR } from './lib/error'
1415
15−import './style/index.css'
16−
1716class Bridge extends React.Component {
1817
1918 constructor(props) {
@@ -84,6 +83,8 @@ class Bridge extends React.Component {
8483 this.popRoute();
8584 }
8685
86+ import('./style/index.css')
87+
8788 // NB (jtobin):
8889 //
8990 // If running in development, the following can be tweaked to get you set
@@ -232,61 +233,67 @@ class Bridge extends React.Component {
232233 const View = router(routeCrumbs.peek())
233234
234235 return (
235− <Container>
236− <Row>
237− <Col className='col-md-1' />
238− <Col className='col-md-10' style={{maxWidth: '620px'}}>
239− <Header
240− routeCrumbs={ routeCrumbs }
241− skipRoute={ this.skipRoute }
242− networkType={ networkType }
243− wallet={ wallet }
244− pointCursor={ pointCursor } />
245−
246− <Row className={ 'row wrapper' }>
247−
248− <View
249− // router
250− pushRoute={ this.pushRoute }
251− popRoute={ this.popRoute }
252− routeData={ routeData }
253− // network
254− setNetworkType={ this.setNetworkType }
255− setNetwork={ this.setNetwork }
236+ <React.Fragment>
237+ <Container>
238+ <Row>
239+ <Col className='col-md-1' />
240+ <Col className='col-md-10' style={{maxWidth: '620px'}}>
241+ <Header
242+ routeCrumbs={ routeCrumbs }
243+ skipRoute={ this.skipRoute }
256244 networkType={ networkType }
257− web3={ web3 }
258− contracts={ contracts }
259− // wallet
260− setWalletType={ this.setWalletType }
261− setWalletHdPath={ this.setWalletHdPath }
262− setWallet={ this.setWallet }
263− walletType={ walletType }
264− walletHdPath={ walletHdPath }
265245 wallet={ wallet }
266− // urbit wallet
267− urbitWallet={ urbitWallet }
268− setUrbitWallet={ this.setUrbitWallet }
269− authMnemonic={ authMnemonic }
270− setAuthMnemonic={ this.setAuthMnemonic }
271− // point
272− setPointCursor={ this.setPointCursor }
273− addToPointCache={ this.addToPointCache }
274− pointCursor={ pointCursor }
275− pointCache={ pointCache }
276− networkSeedCache= { networkSeedCache }
277− setNetworkSeedCache= { this.setNetworkSeedCache }
278− // txn
279− setTxnHashCursor={ this.setTxnHashCursor }
280− txnHashCursor={ txnHashCursor } />
281−
282− <div className={'push'} />
283−
284− </Row>
285−
286− <Footer />
287− </Col>
288− </Row>
289− </Container>
246+ pointCursor={ pointCursor } />
247+
248+ <Row className={ 'row wrapper' }>
249+
250+ <View
251+ // router
252+ pushRoute={ this.pushRoute }
253+ popRoute={ this.popRoute }
254+ routeData={ routeData }
255+ // network
256+ setNetworkType={ this.setNetworkType }
257+ setNetwork={ this.setNetwork }
258+ networkType={ networkType }
259+ web3={ web3 }
260+ contracts={ contracts }
261+ // wallet
262+ setWalletType={ this.setWalletType }
263+ setWalletHdPath={ this.setWalletHdPath }
264+ setWallet={ this.setWallet }
265+ walletType={ walletType }
266+ walletHdPath={ walletHdPath }
267+ wallet={ wallet }
268+ // urbit wallet
269+ urbitWallet={ urbitWallet }
270+ setUrbitWallet={ this.setUrbitWallet }
271+ authMnemonic={ authMnemonic }
272+ setAuthMnemonic={ this.setAuthMnemonic }
273+ // point
274+ setPointCursor={ this.setPointCursor }
275+ addToPointCache={ this.addToPointCache }
276+ pointCursor={ pointCursor }
277+ pointCache={ pointCache }
278+ networkSeedCache= { networkSeedCache }
279+ setNetworkSeedCache= { this.setNetworkSeedCache }
280+ // txn
281+ setTxnHashCursor={ this.setTxnHashCursor }
282+ txnHashCursor={ txnHashCursor } />
283+
284+ <div className={'push'} />
285+
286+ </Row>
287+
288+ <Footer />
289+ </Col>
290+ </Row>
291+ </Container>
292+
293+ <AppNavigation
294+ setView={this.props.setView}
295+ appView={this.props.appView} />
296+ </React.Fragment>
290297 )
291298 }
292299}