fix: opt in to import.meta.* properties (#364)
This commit is contained in:
2
client/stores/auth.js
vendored
2
client/stores/auth.js
vendored
@@ -34,7 +34,7 @@ export const useAuthStore = defineStore('auth', {
|
||||
},
|
||||
|
||||
setCookie(name, value) {
|
||||
if (process.client) {
|
||||
if (import.meta.client) {
|
||||
useCookie(name).value = value
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user