From 56f6aca981f9c87d93efd9180bbacc17e6fa9f5b Mon Sep 17 00:00:00 2001 From: Colin Megill Date: Wed, 28 Feb 2018 09:49:26 -0800 Subject: [PATCH] move component declarations out of app to leftsidebar --- src/components/app.js | 41 ++++++++++++----------------------------- 1 file changed, 12 insertions(+), 29 deletions(-) diff --git a/src/components/app.js b/src/components/app.js index 0091a36e..c3787941 100644 --- a/src/components/app.js +++ b/src/components/app.js @@ -2,14 +2,12 @@ import React from "react"; import _ from "lodash"; import Helmet from "react-helmet"; import Container from "./framework/container"; -import buttonStyles from "./framework/buttons.css"; import { connect } from "react-redux"; import PulseLoader from "halogen/PulseLoader"; -import Categorical from "./categorical/categorical"; +import LeftSideBar from "./leftsidebar"; import Continuous from "./continuous/continuous"; import DynamicScatterplot from "./scatterplot/scatterplot"; -import Expression from "./expression/expression"; import Joy from "./joy/joy"; import Graph from "./graph/graph"; import * as globals from "../globals"; @@ -54,41 +52,26 @@ class App extends React.Component { { this.props.cells.loading ? -
+
- loading cells + loading cells
: null } {this.props.cells.error ? "Error loading cells" : null} {false ? : ""} -
- - -
+
+ +
- - + {/**/}
-
)