feat: rename accounts to user

This commit is contained in:
Anthony Fu 2022-11-23 12:25:48 +08:00
parent 8dc1fb6493
commit ed5b8091d3
10 changed files with 32 additions and 45 deletions

View file

@ -1,11 +1,11 @@
export const isAccountSwitcherOpen = ref(false)
export const isUserSwitcherOpen = ref(false)
export const isSigninDialogOpen = ref(false)
export function openAccountSwitcher() {
isAccountSwitcherOpen.value = true
export function openUserSwitcher() {
isUserSwitcherOpen.value = true
}
export function openSigninDialog() {
isSigninDialogOpen.value = true
isAccountSwitcherOpen.value = false
isUserSwitcherOpen.value = false
}