mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-08 22:23:02 -04:00
fix userutils (#1861)
This commit is contained in:
parent
788d22f9e9
commit
2478ffb695
6 changed files with 8 additions and 10 deletions
|
@ -103,7 +103,7 @@ export function openImageModal(url: string, props?: Partial<React.ComponentProps
|
|||
const openProfile = findByCodeLazy("friendToken", "USER_PROFILE_MODAL_OPEN");
|
||||
|
||||
export async function openUserProfile(id: string) {
|
||||
const user = await UserUtils.fetchUser(id);
|
||||
const user = await UserUtils.getUser(id);
|
||||
if (!user) throw new Error("No such user: " + id);
|
||||
|
||||
const guildId = SelectedGuildStore.getGuildId();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue