refactor: account callback text

This commit is contained in:
Zack Spear
2023-06-30 16:45:08 -07:00
committed by Zack Spear
parent d154576672
commit ee384bec37

View File

@@ -137,8 +137,8 @@ export const useAccountStore = defineStore('account', () => {
case 'success':
return {
text: accountAction.value?.type === 'signIn'
? `Signed ${accountAction.value.user?.preferred_username} In Successfully`
: `Signed Out ${username.value} Successfully`,
? `${accountAction.value.user?.preferred_username} Signed In Successfully`
: `${username.value} Signed Out Successfully`,
};
case 'failed':
return {