Skip to content

Commit

Permalink
Apply fixes from Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
indykoning authored and actions-user committed Nov 19, 2024
1 parent fe3e1d8 commit ef69b76
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions resources/js/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ document.addEventListener('vue:loaded', () => {

function init() {
if (document.body.contains(window.app.$el)) {
return;
return
}

// https://vuejs.org/api/application.html#app-config-performance
Expand Down Expand Up @@ -149,17 +149,17 @@ function init() {
store = window.config.store
}

let url = new URL(imagePath)
url = url.pathname.replace('/media', '')

return `/storage/${store}/resizes/${size}/magento${url}`
},
},
computed: {
// Wrap the local storage in getter and setter functions so you do not have to interact using .value
guestEmail: wrapValue(
useLocalStorage('email', window.debug ? '[email protected]' : '', { serializer: StorageSerializers.string }),
),
let url = new URL(imagePath)
url = url.pathname.replace('/media', '')

return `/storage/${store}/resizes/${size}/magento${url}`
},
},
computed: {
// Wrap the local storage in getter and setter functions so you do not have to interact using .value
guestEmail: wrapValue(
useLocalStorage('email', window.debug ? '[email protected]' : '', { serializer: StorageSerializers.string }),
),

loggedIn() {
return Boolean(this.user?.id)
Expand Down

0 comments on commit ef69b76

Please sign in to comment.