elk/composables/dialog.ts

12 lines
285 B
TypeScript
Raw Normal View History

2022-11-23 03:48:01 +00:00
export const isAccountSwitcherOpen = ref(false)
export const isSigninDialogOpen = ref(false)
export function openAccountSwitcher() {
isAccountSwitcherOpen.value = true
}
export function openSigninDialog() {
isSigninDialogOpen.value = true
isAccountSwitcherOpen.value = false
}