Fixes: None; Extra: Minor structural organization of assets and GraphQL queries; Added descriptive structure to enhance traceability;
14 lines
269 B
JavaScript
14 lines
269 B
JavaScript
import { defineStore } from 'pinia'
|
|
import { ref } from 'vue'
|
|
|
|
export const useWishlistStore = defineStore('wishlist', () => {
|
|
const wishlist = ref({})
|
|
const setWishlist = (order) => {
|
|
wishlist.value = order
|
|
}
|
|
|
|
return {
|
|
wishlist,
|
|
setWishlist
|
|
}
|
|
})
|