From ace0f3707452f947690470706ab3fd25bbf42c7a Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Mon, 13 Aug 2018 14:33:44 +0200 Subject: [PATCH] Merge content --- src/js/components/wallet/index.js | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/src/js/components/wallet/index.js b/src/js/components/wallet/index.js index 14371992..f5dc4572 100644 --- a/src/js/components/wallet/index.js +++ b/src/js/components/wallet/index.js @@ -2,7 +2,6 @@ import * as React from 'react'; -import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { Route, withRouter } from 'react-router-dom'; @@ -27,29 +26,22 @@ type ContentProps = { children?: React.Node } - -const Content = (props: ContentProps) => ( -
- - - - { props.children } -
-
-); - const Wallet = (props: WalletContainerProps) => (
{/*
{ props.wallet.online ? "ONLINE" : "OFFLINE" }
*/}
- +
+ + + { props.children } - +
+