@@ -6,14 +6,13 @@ import React from 'react'
6import Footer from './components/Footer'
6import Footer from './components/Footer'
7import Header from './components/Header'
7import Header from './components/Header'
8import { Container, Row, Col } from './components/Base'
8import { Container, Row, Col } from './components/Base'
9+import { AppNavigation } from './components/AppNavigation'
10import { ROUTE_NAMES, router } from './lib/router'
11import { ROUTE_NAMES, router } from './lib/router'
11import { NETWORK_NAMES } from './lib/network'
12import { NETWORK_NAMES } from './lib/network'
12import { WALLET_NAMES, DEFAULT_HD_PATH } from './lib/wallet'
13import { WALLET_NAMES, DEFAULT_HD_PATH } from './lib/wallet'
13import { BRIDGE_ERROR } from './lib/error'
14import { BRIDGE_ERROR } from './lib/error'
15−import './style/index.css'
17class Bridge extends React.Component {
16class Bridge extends React.Component {
19 constructor(props) {
18 constructor(props) {
@@ -84,6 +83,8 @@ class Bridge extends React.Component {
84 this.popRoute();
83 this.popRoute();
86+ import('./style/index.css')
87 // NB (jtobin):
88 // NB (jtobin):
89 // If running in development, the following can be tweaked to get you set
90 // If running in development, the following can be tweaked to get you set
@@ -232,61 +233,67 @@ class Bridge extends React.Component {
232 const View = router(routeCrumbs.peek())
233 const View = router(routeCrumbs.peek())
235− <Container>
237+ <Container>
237− <Col className='col-md-1' />
239+ <Col className='col-md-1' />
238− <Col className='col-md-10' style={{maxWidth: '620px'}}>
240+ <Col className='col-md-10' style={{maxWidth: '620px'}}>
240− routeCrumbs={ routeCrumbs }
242+ routeCrumbs={ routeCrumbs }
241− skipRoute={ this.skipRoute }
243+ skipRoute={ this.skipRoute }
242− networkType={ networkType }
244− pointCursor={ pointCursor } />
246− <Row className={ 'row wrapper' }>
250− pushRoute={ this.pushRoute }
251− popRoute={ this.popRoute }
252− routeData={ routeData }
254− setNetworkType={ this.setNetworkType }
255− setNetwork={ this.setNetwork }
256 networkType={ networkType }
244 networkType={ networkType }
258− contracts={ contracts }
260− setWalletType={ this.setWalletType }
261− setWalletHdPath={ this.setWalletHdPath }
262− setWallet={ this.setWallet }
263− walletType={ walletType }
264− walletHdPath={ walletHdPath }
265 wallet={ wallet }
245 wallet={ wallet }
246+ pointCursor={ pointCursor } />
248+ <Row className={ 'row wrapper' }>
252+ pushRoute={ this.pushRoute }
253+ popRoute={ this.popRoute }
254+ routeData={ routeData }
256+ setNetworkType={ this.setNetworkType }
257+ setNetwork={ this.setNetwork }
258+ networkType={ networkType }
260+ contracts={ contracts }
262+ setWalletType={ this.setWalletType }
263+ setWalletHdPath={ this.setWalletHdPath }
264+ setWallet={ this.setWallet }
265+ walletType={ walletType }
266+ walletHdPath={ walletHdPath }
266− // urbit wallet
268+ // urbit wallet
267− urbitWallet={ urbitWallet }
269+ urbitWallet={ urbitWallet }
268− setUrbitWallet={ this.setUrbitWallet }
270+ setUrbitWallet={ this.setUrbitWallet }
269− authMnemonic={ authMnemonic }
271+ authMnemonic={ authMnemonic }
270− setAuthMnemonic={ this.setAuthMnemonic }
272+ setAuthMnemonic={ this.setAuthMnemonic }
271− // point
273+ // point
272− setPointCursor={ this.setPointCursor }
274+ setPointCursor={ this.setPointCursor }
273− addToPointCache={ this.addToPointCache }
275+ addToPointCache={ this.addToPointCache }
274− pointCursor={ pointCursor }
276+ pointCursor={ pointCursor }
275− pointCache={ pointCache }
277+ pointCache={ pointCache }
276− networkSeedCache= { networkSeedCache }
278+ networkSeedCache= { networkSeedCache }
277− setNetworkSeedCache= { this.setNetworkSeedCache }
279+ setNetworkSeedCache= { this.setNetworkSeedCache }
279− setTxnHashCursor={ this.setTxnHashCursor }
281+ setTxnHashCursor={ this.setTxnHashCursor }
280− txnHashCursor={ txnHashCursor } />
282+ txnHashCursor={ txnHashCursor } />
282− <div className={'push'} />
284+ <div className={'push'} />
286− <Footer />
288+ <Footer />
289− </Container>
291+ </Container>
294+ setView={this.props.setView}
295+ appView={this.props.appView} />