Skip to content

Commit

Permalink
chore(connect): Reset form after submit
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Dec 29, 2024
1 parent e7ffc7b commit 8700172
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/src/views/ConnectView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ const submit = async () => {
});
await wait;
success.value = true;
formData.value = {
name: "",
email: "",
message: "",
};
} catch (e) {
console.error(e);
error.value = e;
Expand Down

0 comments on commit 8700172

Please sign in to comment.