import React, { Component } from 'react' import { rules } from 'Engine/rules' import { propEq, reject } from 'ramda' import { Link } from 'react-router-dom' export default class TargetSelection extends Component { state = { targets: [] } render() { let { targets } = this.state return (

Que voulez-vous calculer ?

{this.renderOutputList()} {targets.length !== 0 && ( )}
) } renderOutputList() { let salaires = rules.filter(propEq('type', 'salaire')), { targets } = this.state return ( ) } }