From d04bf503014b76e2d285b5e5f19d31cc02d53579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anne=20L=27H=C3=B4te?= Date: Fri, 6 Dec 2024 09:15:32 +0100 Subject: [PATCH] Revert "fix(social-media): update sanitize" This reverts commit 5adce3ea05a0e74d9912e53bef8b9b06f94e51fc. --- src/components/forms/social-media/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/forms/social-media/index.js b/src/components/forms/social-media/index.js index f7bd890..0944ced 100644 --- a/src/components/forms/social-media/index.js +++ b/src/components/forms/social-media/index.js @@ -51,7 +51,6 @@ function sanitize(form) { if (fields.includes(key)) { body[key] = form[key]; } }); if (!form.account.includes('https://')) { body.account = `https://${body.account}`; } - if (form.account.includes('.fr')) { body.account = body.account.replace('.fr', ''); } return body; }