Skip to content

Commit

Permalink
Ajoute un message d'erreur dans le formulaire avec l'ajout de fichier
Browse files Browse the repository at this point in the history
  • Loading branch information
guillett committed Oct 14, 2024
1 parent e839595 commit 7bed5da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/clean-phone-number.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export function cleanPhoneNumber(phoneNumber) {
return phoneNumber.replace(/[^(+0-9)]/g, "");
}

0 comments on commit 7bed5da

Please sign in to comment.