diff --git a/source/components/TargetSelection.js b/source/components/TargetSelection.js index eaee75f1a..b4c7ec863 100644 --- a/source/components/TargetSelection.js +++ b/source/components/TargetSelection.js @@ -7,7 +7,7 @@ import withLanguage from 'Components/utils/withLanguage' import withSitePaths from 'Components/utils/withSitePaths' import { encodeRuleName } from 'Engine/rules' import { compose, isEmpty, isNil, propEq } from 'ramda' -import React, { Component, PureComponent } from 'react' +import React, { Component, PureComponent, useState } from 'react' import { withTranslation } from 'react-i18next' import { connect } from 'react-redux' import { Link } from 'react-router-dom' @@ -173,6 +173,7 @@ const Target = ({ }) => { const isSmallTarget = !target.question || !target.formule || isEmpty(target.formule) + const [suggestionValue, setSuggestionValue] = useState(null) return (
)}