fix: fix a problem which user info maybe return null cause error

pull/227/head
moonrailgun 10 months ago
parent 88b05da0c9
commit 96d8cda5c3

@ -15,5 +15,5 @@ export function useCachedUserInfo(
return users;
}, [userId, refetch]);
return userInfo;
return userInfo ?? {};
}

Loading…
Cancel
Save