Skip to content

Commit 2aa4b64

Browse files
committed
chore: Bug tracing
1 parent 1ffb607 commit 2aa4b64

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/vue-auth/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export const authPlugin = <U = unknown>(options: AuthOptions<U>) => {
2323
// Install Pinia if not already installed
2424
app.use(pinia)
2525
}
26+
console.log(isPiniaInstalled)
2627

2728
// Load user from storage
2829
const store = useAuthStore(options.storageOptions)

packages/vue-auth/src/stores/vue-auth.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function createVueAuthStore<UA = unknown>(storageOptions?: StorageOptions
2828
const token = ref<string>()
2929
const refreshed = ref<boolean>(false)
3030
const isAuthenticated = computed(() => !!token.value)
31-
console.log(storageOptions)
31+
3232
/**
3333
* Attempt to do a login
3434
*

0 commit comments

Comments
 (0)