CLEAN removed unused imports
This commit is contained in:
parent
2c6ce3d6b3
commit
8bea5ab5fe
1 changed files with 0 additions and 4 deletions
|
|
@ -1,8 +1,6 @@
|
||||||
import React from "react"
|
import React from "react"
|
||||||
import { Link } from "gatsby"
|
|
||||||
|
|
||||||
import Layout from "../components/layout"
|
import Layout from "../components/layout"
|
||||||
import Image from "../components/image"
|
|
||||||
import SEO from "../components/seo"
|
import SEO from "../components/seo"
|
||||||
import data from './default-kedro157.json'
|
import data from './default-kedro157.json'
|
||||||
import KedroViz from '@quantumblack/kedro-viz';
|
import KedroViz from '@quantumblack/kedro-viz';
|
||||||
|
|
@ -15,14 +13,12 @@ class IndexPage extends React.Component {
|
||||||
}
|
}
|
||||||
this.componentDidMount = () => {
|
this.componentDidMount = () => {
|
||||||
this.setState({ loaded: true })
|
this.setState({ loaded: true })
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<Layout>
|
<Layout>
|
||||||
<SEO title="Home" />
|
<SEO title="Home" />
|
||||||
{/* <h1>default kedro pipeline</h1> */}
|
|
||||||
<div className="pipeline" style={{ minHeight: '80vh' }}>
|
<div className="pipeline" style={{ minHeight: '80vh' }}>
|
||||||
{this.state.loaded === false ? 'loading' : <KedroViz style={{ height: '80vh' }} data={data} />}
|
{this.state.loaded === false ? 'loading' : <KedroViz style={{ height: '80vh' }} data={data} />}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue