Skip to content

Commit 4244a0a

Browse files
authored
[Cleanup] Remove unused dialog functions (#3588)
1 parent ad3d2fe commit 4244a0a

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/stores/firebaseAuthStore.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import { useFirebaseAuth } from 'vuefire'
1919

2020
import { COMFY_API_BASE_URL } from '@/config/comfyApi'
2121
import { t } from '@/i18n'
22-
import { useDialogService } from '@/services/dialogService'
2322
import { operations } from '@/types/comfyRegistryTypes'
2423

2524
import { useToastStore } from './toastStore'
@@ -271,14 +270,6 @@ export const useFirebaseAuthStore = defineStore('firebaseAuth', () => {
271270
): Promise<CreditPurchaseResponse | null> =>
272271
executeAuthAction((_) => addCredits(requestBodyContent))
273272

274-
const openSignInPanel = () => {
275-
useDialogService().showSettingsDialog('user')
276-
}
277-
278-
const openCreditsPanel = () => {
279-
useDialogService().showSettingsDialog('credits')
280-
}
281-
282273
const accessBillingPortal = async (
283274
requestBody?: AccessBillingPortalReqBody
284275
): Promise<AccessBillingPortalResponse | null> => {
@@ -332,8 +323,6 @@ export const useFirebaseAuthStore = defineStore('firebaseAuth', () => {
332323
loginWithGoogle,
333324
loginWithGithub,
334325
initiateCreditPurchase,
335-
openSignInPanel,
336-
openCreditsPanel,
337326
fetchBalance,
338327
accessBillingPortal,
339328
sendPasswordReset

0 commit comments

Comments
 (0)