diff --git a/source/components/SalaryExplanation.js b/source/components/SalaryExplanation.js index 0408472a1..0e081125d 100644 --- a/source/components/SalaryExplanation.js +++ b/source/components/SalaryExplanation.js @@ -2,7 +2,8 @@ import Distribution from 'Components/Distribution' import PaySlip from 'Components/PaySlip' import withTracker from 'Components/utils/withTracker' import { compose } from 'ramda' -import React from 'react' +import React, { useRef } from 'react' +import emoji from 'react-easy-emoji' import { Trans } from 'react-i18next' import { connect } from 'react-redux' import { formValueSelector } from 'redux-form' @@ -29,6 +30,7 @@ export default compose( showDistributionFirst: !state.conversationSteps.foldedSteps.length })) )(function SalaryExplanation({ showDistributionFirst }) { + const distributionRef = useRef({}) return ( @@ -39,8 +41,22 @@ export default compose( ) : ( <> +
+ +
- +
+ +
)}