From e124a163a331d7d3d88cb8fbf33dad1af888e262 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Mon, 11 Dec 2017 13:15:26 +0000 Subject: [PATCH] Root: use the container component. --- src/Root.tsx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/Root.tsx b/src/Root.tsx index 2ee1426..7f9dd3b 100644 --- a/src/Root.tsx +++ b/src/Root.tsx @@ -1,8 +1,8 @@ import * as React from 'react'; import { connect } from 'react-redux'; import { withRouter } from 'react-router'; -import Paper from 'material-ui/Paper'; +import Container from './Container'; import SyncGate from './SyncGate'; import LoginForm from './LoginForm'; @@ -27,12 +27,6 @@ class Root extends React.Component { render() { if (this.props.credentials.value === null) { const style = { - holder: { - margin: 'auto', - maxWidth: 400, - padding: 20, - marginTop: 20, - }, isSafe: { textDecoration: 'none', display: 'block', @@ -44,7 +38,7 @@ class Root extends React.Component { }; return ( - +

Please Log In

Is the web client safe to use?
  • Source code
  • -
    + ); }