Skip to content

Commit

Permalink
fix(premium): prevent event directly
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Jul 13, 2020
1 parent 1eb0fe6 commit 4ac0495
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/pages/premium/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<form
:action="gumroad.authAPI.url"
:method="gumroad.authAPI.fetchOptions.method"
@submit="checkForm()"
@submit.prevent="checkForm()"
>
<label
class="block mb-2 text-lg font-medium leading-tight"
Expand Down Expand Up @@ -55,8 +55,6 @@ export default {
...mapMutations('premium', ['setRawResponse', 'setLicenseKey']),
checkForm(event) {
event.preventDefault()
this.authenticate()
},
},
Expand Down

0 comments on commit 4ac0495

Please sign in to comment.