diff --git a/src/components/app.js b/src/components/app.js index c43320d1..405342cf 100644 --- a/src/components/app.js +++ b/src/components/app.js @@ -4,6 +4,7 @@ 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 Continuous from "./continuous/continuous"; @@ -16,7 +17,7 @@ import SectionHeader from "./framework/sectionHeader"; @connect((state) => { return { - + cells: state.cells } }) class Home extends React.Component { @@ -71,9 +72,17 @@ class Home extends React.Component { return ( + { + this.props.cells.loading ? +
+ + loading cells +
: + null + } + {this.props.cells.error ? "Error loading cells" : null} {false ? : ""} -