mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-06 22:28:11 +08:00
app gets connected to store
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import { Link } from "react-router-dom";
|
|
||||||
import _ from "lodash";
|
import _ from "lodash";
|
||||||
import Helmet from "react-helmet";
|
import Helmet from "react-helmet";
|
||||||
import Container from "./container";
|
import Container from "./framework/container";
|
||||||
import buttonStyles from "./buttons.css";
|
import buttonStyles from "./framework/buttons.css";
|
||||||
|
import { connect } from "react-redux";
|
||||||
|
|
||||||
import Categorical from "./categorical/categorical";
|
import Categorical from "./categorical/categorical";
|
||||||
import Continuous from "./continuous/continuous";
|
import Continuous from "./continuous/continuous";
|
||||||
@@ -11,6 +11,11 @@ import Joy from "./joy/joy";
|
|||||||
import Graph from "./graph/graph";
|
import Graph from "./graph/graph";
|
||||||
import Heatmap from "./heatmap/heatmap";
|
import Heatmap from "./heatmap/heatmap";
|
||||||
|
|
||||||
|
@connect((state) => {
|
||||||
|
return {
|
||||||
|
foo123: state
|
||||||
|
}
|
||||||
|
})
|
||||||
class Home extends React.Component {
|
class Home extends React.Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props);
|
super(props);
|
||||||
@@ -86,7 +91,6 @@ class Home extends React.Component {
|
|||||||
<Container>
|
<Container>
|
||||||
<Helmet title="cellxgene" />
|
<Helmet title="cellxgene" />
|
||||||
{/* <Heatmap/> */}
|
{/* <Heatmap/> */}
|
||||||
<h1><Link to="/page2">cellxgene</Link></h1>
|
|
||||||
<h3 style={{marginTop: 50}}> Gene selection criteria </h3>
|
<h3 style={{marginTop: 50}}> Gene selection criteria </h3>
|
||||||
{false ? <Joy data={this.state.expressions && this.state.expressions.data}/> : ""}
|
{false ? <Joy data={this.state.expressions && this.state.expressions.data}/> : ""}
|
||||||
|
|
||||||
Reference in New Issue
Block a user