Skip to content

Commit

Permalink
allow user to be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
stevie.hartog committed Jun 17, 2024
1 parent 724d645 commit a24e330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/authentication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { User as FirebaseUser } from 'firebase/auth'
import { User, UserSettings } from '@/interfaces/authentication.interface'

export const useAuthenticationStore = defineStore('authentication', () => {
const user: Ref<User | null> = ref(null)
const user: Ref<User | null | undefined> = ref(undefined)
const error: Ref<string | null> = ref(null)

/**
Expand Down

0 comments on commit a24e330

Please sign in to comment.