Skip to content

Commit

Permalink
Revert "fix(social-media): update sanitize"
Browse files Browse the repository at this point in the history
This reverts commit 5adce3e.
  • Loading branch information
annelhote committed Dec 6, 2024
1 parent 2a4601c commit d04bf50
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/forms/social-media/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d04bf50

Please sign in to comment.