diff --git a/source/components/Simu.js b/source/components/Simu.js index e584c6589..e02275881 100644 --- a/source/components/Simu.js +++ b/source/components/Simu.js @@ -58,6 +58,7 @@ export default compose( nextSteps, startConversation, blockingInputControls, + displayHiringProcedures, match, validInputEntered, location @@ -120,7 +121,7 @@ export default compose( pouvez maintenant concrétiser votre projet d'embauche.

- {this.props.displayHiringProcedures && ( + {displayHiringProcedures && (
{ render() { @@ -66,7 +70,9 @@ class SocialSecurity extends Component { width: '100%', height: '100%' }} - src="https://www.youtube-nocookie.com/embed/dN9ZVazSmpc?rel=0&showinfo=0" + src={`https://www.youtube-nocookie.com/embed/${ + this.props.language === 'fr' ? 'EMQ3fNyMxBE' : 'dN9ZVazSmpc' + }?rel=0&showinfo=0`} frameBorder="0" allow="autoplay; encrypted-media" allowFullScreen @@ -82,4 +88,7 @@ class SocialSecurity extends Component { } } -export default withI18n()(SocialSecurity) +export default compose( + withI18n(), + withLanguage +)(SocialSecurity)