Skip to content

Commit

Permalink
Only check for logged in state on mounted hook (#673)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jade-GG authored Dec 17, 2024
1 parent 5db05f6 commit 2734670
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/js/components/Checkout/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ export default {
created() {
this.refreshUser(false)
},
mounted() {
if (this.$root.loggedIn) {
this.successfulLogin()
}
Expand Down

0 comments on commit 2734670

Please sign in to comment.