2016-08-10 09:39:01 +00:00
|
|
|
import React, { Component } from 'react'
|
2016-08-10 14:13:17 +00:00
|
|
|
import {connect} from 'react-redux'
|
2016-08-12 18:03:54 +00:00
|
|
|
import {usedVariables} from '../selectors/usedVariables'
|
2016-08-10 14:13:17 +00:00
|
|
|
|
|
|
|
let mapStateToProps = state => (
|
|
|
|
{
|
|
|
|
usedVariables: usedVariables(state)
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
@connect(mapStateToProps)
|
2016-08-10 09:39:01 +00:00
|
|
|
export default class Analyse extends Component {
|
|
|
|
render() {
|
2016-08-12 18:03:54 +00:00
|
|
|
let {usedVariables} = this.props
|
|
|
|
console.log('usedVariables', usedVariables)
|
2016-08-10 09:39:01 +00:00
|
|
|
return (<div>Analyse</div>)
|
|
|
|
}
|
|
|
|
}
|