diff --git a/mon-entreprise/source/components/conversation/Conversation.tsx b/mon-entreprise/source/components/conversation/Conversation.tsx index 84b37577f..9adc4f9b9 100644 --- a/mon-entreprise/source/components/conversation/Conversation.tsx +++ b/mon-entreprise/source/components/conversation/Conversation.tsx @@ -57,7 +57,9 @@ export default function Conversation({ customEndMessages }: ConversationProps) { return currentQuestion ? ( <> - + {Object.keys(situation).length !== 0 && ( + + )}
diff --git a/mon-entreprise/source/pages/Simulateurs/AidesEmbauche.tsx b/mon-entreprise/source/pages/Simulateurs/AidesEmbauche.tsx index 421b44665..b53b3b198 100644 --- a/mon-entreprise/source/pages/Simulateurs/AidesEmbauche.tsx +++ b/mon-entreprise/source/pages/Simulateurs/AidesEmbauche.tsx @@ -1,6 +1,7 @@ import Conversation from 'Components/conversation/Conversation' import { HiddenOptionContext } from 'Components/conversation/Question' import Animate from 'Components/ui/animate' +import Warning from 'Components/ui/WarningBlock' import { ThemeColorsContext } from 'Components/utils/colors' import Emoji from 'Components/utils/Emoji' import { useEngine } from 'Components/utils/EngineContext' @@ -8,7 +9,6 @@ import { SitePathsContext } from 'Components/utils/SitePathsContext' import { useSimulationProgress } from 'Components/utils/useNextQuestion' import { useParamsFromSituation } from 'Components/utils/useSearchParamsSimulationSharing' import useSimulationConfig from 'Components/utils/useSimulationConfig' -import Warning from 'Components/ui/WarningBlock' import { DottedName } from 'modele-social' import Engine, { formatValue } from 'publicodes' import { partition } from 'ramda' @@ -17,6 +17,7 @@ import { Trans, useTranslation } from 'react-i18next' import { Link } from 'react-router-dom' import { SimulationConfig, Situation } from 'Reducers/rootReducer' import styled from 'styled-components' +import { TrackPage } from '../../ATInternetTracking' type AideDescriptor = { title: string @@ -219,6 +220,7 @@ function Results() { return progress === 0 ? ( <> +

Les aides