diff --git a/source/components/ResultsGrid.js b/source/components/ResultsGrid.js index 24a67c1dc..6cfc0905b 100644 --- a/source/components/ResultsGrid.js +++ b/source/components/ResultsGrid.js @@ -21,9 +21,8 @@ import { Link } from 'react-router-dom' import { formValueSelector } from 'redux-form' import './Results.css' import '../engine/mecanismViews/Somme.css' -import { humanFigure } from './rule/RuleValueVignette' -import { capitalise0 } from '../utils' +import { capitalise0, humanFigure } from '../utils' import { nameLeaf, encodeRuleName } from 'Engine/rules' // Filtered variables and rules can't be filtered in a uniform way, for now diff --git a/source/components/rule/Algorithm.js b/source/components/rule/Algorithm.js index 11698ffaa..665be9b70 100644 --- a/source/components/rule/Algorithm.js +++ b/source/components/rule/Algorithm.js @@ -5,7 +5,7 @@ import { AttachDictionary } from '../AttachDictionary' import knownMecanisms from 'Engine/known-mecanisms.yaml' import { makeJsx } from 'Engine/evaluation' import './Algorithm.css' -import { humanFigure } from './RuleValueVignette' +import { humanFigure } from '../../utils' let RuleWithoutFormula = () => [
@@ -29,24 +29,22 @@ export default class Algorithm extends React.Component { return (