From 72278c2c79a73d358913992278f8cf3300eae98a Mon Sep 17 00:00:00 2001 From: Mael Date: Thu, 15 Feb 2024 10:00:00 +0100 Subject: [PATCH] Ancienne url --- components/ShareButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ShareButton.tsx b/components/ShareButton.tsx index 7a51726b..3912ca03 100644 --- a/components/ShareButton.tsx +++ b/components/ShareButton.tsx @@ -19,7 +19,7 @@ export default function ShareButton({ const searchParamsString = searchParams.toString() const url = - 'https://réno.fr' + + 'https://mesaidesreno.beta.gouv.fr' + (withAnswers ? pathname : '/introduction') + (searchParamsString && withAnswers ? '?' + searchParamsString : '')