Skip to content

Commit

Permalink
Merge pull request #11 from BradleyDsx/fix
Browse files Browse the repository at this point in the history
spelling correction for error send form
  • Loading branch information
obeone authored Oct 20, 2023
2 parents 02fbe8c + cc44047 commit a181d61
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Shared/Form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const submitForm = async () => {
const response = await axios.post('https://api.ecocode.io/contact', formData, headers);
success.value = "Votre demande a bien été enregistrée";
} catch (err) {
error.value = "Erreur d'envoie, veuillez réessayer plus tard.";
error.value = "Erreur d'envoi, veuillez réessayer plus tard.";
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Shared/FormSecond.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ const submitForm = async () => {
const response = await axios.post("https://api.ecocode.io/client_case", formData, headers);
success.value = "Votre demande a bien été enregistrée";
} catch (err) {
error.value = "Erreur d'envoie, veuillez réessayer plus tard.";
error.value = "Erreur d'envoi, veuillez réessayer plus tard.";
}
}
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/global/Newsletter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const submitForm = async () => {
const response = await axios.post("https://api.ecocode.io/newsletter", formData, headers);
success.value = "Votre demande a bien été enregistrée";
} catch (err) {
error.value = "Erreur d'envoie, veuillez réessayer plus tard.";
error.value = "Erreur d'envoi, veuillez réessayer plus tard.";
}
}
};
Expand Down

0 comments on commit a181d61

Please sign in to comment.