diff --git a/source/components/rule/Algorithm.js b/source/components/rule/Algorithm.js index c66b9d9c2..37cf120f1 100644 --- a/source/components/rule/Algorithm.js +++ b/source/components/rule/Algorithm.js @@ -12,7 +12,6 @@ let RuleWithoutFormula = () => doit donc ĂȘtre renseignĂ©e directement.

- @AttachDictionary(knownMecanisms) export default class Algorithm extends React.Component { state = { diff --git a/source/components/rule/Examples.js b/source/components/rule/Examples.js index 3c5b9f679..15e11c24d 100644 --- a/source/components/rule/Examples.js +++ b/source/components/rule/Examples.js @@ -42,7 +42,7 @@ export default class Examples extends Component { render() { let examples = this.runExamples(), focusedExample = R.path(['focusedExample', 'nom'])(this.props), - {clearInjection, inject, situationExists , showValues} = this.props + {inject, situationExists , showValues} = this.props return (
@@ -53,7 +53,7 @@ export default class Examples extends Component { :
- + this.setState({example: null, showValues: false})} inject={example => this.setState({example, showValues: true})}/>