Skip to content

Commit

Permalink
Updated deprecated mailjs package
Browse files Browse the repository at this point in the history
  • Loading branch information
SamElfring committed Oct 13, 2023
1 parent 9884617 commit 59afa5d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
19 changes: 9 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"check-format": "prettier . --check"
},
"dependencies": {
"@emailjs/browser": "^3.11.0",
"@fortawesome/fontawesome-svg-core": "^6.4.2",
"@fortawesome/free-brands-svg-icons": "^6.4.2",
"@fortawesome/free-regular-svg-icons": "^6.4.2",
"@fortawesome/free-solid-svg-icons": "^6.4.2",
"@fortawesome/vue-fontawesome": "^3.0.3",
"emailjs-com": "^3.2.0",
"vue": "^3.3.4",
"vue-i18n": "^9.5.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/Contact.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</template>

<script setup>
import emailjs from "emailjs-com";
import emailjs from "@emailjs/browser";
const sendMail = (e) => {
emailjs.sendForm("service_8rad7a7", "template_bwhqzqj", e.target, "vs9bmuVjqREpH4nml").then(
Expand Down

0 comments on commit 59afa5d

Please sign in to comment.