CLEAN removed unused imports

This commit is contained in:
WaylonWalker 2020-03-01 10:53:29 -06:00
parent 2c6ce3d6b3
commit 8bea5ab5fe

View file

@ -1,8 +1,6 @@
import React from "react"
import { Link } from "gatsby"
import Layout from "../components/layout"
import Image from "../components/image"
import SEO from "../components/seo"
import data from './default-kedro157.json'
import KedroViz from '@quantumblack/kedro-viz';
@ -15,14 +13,12 @@ class IndexPage extends React.Component {
}
this.componentDidMount = () => {
this.setState({ loaded: true })
}
}
render() {
return (
<Layout>
<SEO title="Home" />
{/* <h1>default kedro pipeline</h1> */}
<div className="pipeline" style={{ minHeight: '80vh' }}>
{this.state.loaded === false ? 'loading' : <KedroViz style={{ height: '80vh' }} data={data} />}
</div>