1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-24 09:18:09 +00:00

Merge content

This commit is contained in:
Vladimir Volek 2018-08-13 14:33:44 +02:00
parent 8375a4c48b
commit ace0f37074

View File

@ -2,7 +2,6 @@
import * as React from 'react'; import * as React from 'react';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import { Route, withRouter } from 'react-router-dom'; import { Route, withRouter } from 'react-router-dom';
@ -27,8 +26,12 @@ type ContentProps = {
children?: React.Node children?: React.Node
} }
const Wallet = (props: WalletContainerProps) => (
const Content = (props: ContentProps) => ( <div className="app">
<Header />
{/* <div>{ props.wallet.online ? "ONLINE" : "OFFLINE" }</div> */}
<main>
<AsideContainer />
<article> <article>
<nav> <nav>
<Route path="/device/:device/network/:network/account/:account" component={AccountTabs} /> <Route path="/device/:device/network/:network/account/:account" component={AccountTabs} />
@ -39,17 +42,6 @@ const Content = (props: ContentProps) => (
{ props.children } { props.children }
<Footer /> <Footer />
</article> </article>
);
const Wallet = (props: WalletContainerProps) => (
<div className="app">
<Header />
{/* <div>{ props.wallet.online ? "ONLINE" : "OFFLINE" }</div> */}
<main>
<AsideContainer />
<Content>
{ props.children }
</Content>
</main> </main>
<ModalContainer /> <ModalContainer />
</div> </div>