[Cleanup] Remove unnecessary null check on auth (2/2) (#3661)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Chenlei Hu
2025-04-27 20:50:59 -04:00
committed by GitHub
parent 3b6dc28727
commit 8472bde5dd
8 changed files with 0 additions and 12 deletions

View File

@@ -163,11 +163,6 @@ export const useFirebaseAuthStore = defineStore('firebaseAuth', () => {
createCustomer?: boolean
} = {}
): Promise<T> => {
if (!auth)
throw new FirebaseAuthStoreError(
t('toastMessages.firebaseAuthNotInitialized')
)
loading.value = true
try {