@@ -13,7 +13,7 @@ import { Link, Stack } from '@mui/material'
1313import { PageviewInfo } from 'src/const/Analytics'
1414
1515import useAnalyticsPath from 'src/hooks/useAnalyticsPath'
16- import { __ , _p } from 'src/utilities/Intl'
16+ import { __ , _p , getLocale } from 'src/utilities/Intl'
1717import { goToUrlLink } from 'src/utilities/global'
1818
1919import { SlideDown } from 'src/components/SlideDown'
@@ -64,7 +64,12 @@ export const DisclosureInterstitial = React.forwardRef((props, interstitialNavRe
6464 }
6565
6666 if ( currentView === VIEWS . PRIVACY_POLICY ) {
67- return < PrivacyPolicy onCancel = { ( ) => setCurrentView ( VIEWS . INTERSTITIAL_DISCLOSURE ) } />
67+ return (
68+ < PrivacyPolicy
69+ onCancel = { ( ) => setCurrentView ( VIEWS . INTERSTITIAL_DISCLOSURE ) }
70+ showExternalLinkPopup = { showExternalLinkPopup }
71+ />
72+ )
6873 } else if ( currentView === VIEWS . DATA_REQUESTED ) {
6974 return < DataRequested setCurrentView = { setCurrentView } />
7075 } else if ( currentView === VIEWS . AVAILABLE_DATA ) {
@@ -180,7 +185,12 @@ export const DisclosureInterstitial = React.forwardRef((props, interstitialNavRe
180185 scrollToTop ( )
181186 setCurrentView ( VIEWS . PRIVACY_POLICY )
182187 } else {
183- goToUrlLink ( 'https://www.mx.com/privacy/' , true )
188+ const locale = getLocale ( )
189+ const privacyUrl =
190+ locale === 'fr-ca'
191+ ? 'https://www.mx.com/fr/privacy/'
192+ : 'https://www.mx.com/privacy/'
193+ goToUrlLink ( privacyUrl , true )
184194 }
185195 } }
186196 style = { styles . link }
0 commit comments