feat(ui): desktop piggy/notifications views, support chat fixes, gift card list
This commit is contained in:
@@ -92,6 +92,10 @@ export function useLoginForm() {
|
||||
async function login(accessToken: string | undefined) {
|
||||
setToken(accessToken)
|
||||
await userStore.getMyInfo()
|
||||
if (!userStore.userInfo) {
|
||||
message.error('ورود انجام شد ولی دریافت اطلاعات کاربر ممکن نشد. اتصال سرور را بررسی کنید.')
|
||||
return
|
||||
}
|
||||
await walletStore.getMyWallet()
|
||||
setTruth()
|
||||
await completeLoginNavigation()
|
||||
|
||||
Reference in New Issue
Block a user