diff --git a/mon-entreprise/source/components/ShareSimulationBanner.tsx b/mon-entreprise/source/components/ShareSimulationBanner.tsx index 099213016..71c0becc6 100644 --- a/mon-entreprise/source/components/ShareSimulationBanner.tsx +++ b/mon-entreprise/source/components/ShareSimulationBanner.tsx @@ -14,7 +14,7 @@ export function useUrl() { searchParams.set('utm_source', 'sharing') return [ window.location.origin, - window.location.pathname, + window.location.pathname.replace('iframes/', ''), '?', searchParams.toString(), ].join('')