mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-18 10:57:04 -04:00
fix userutils (#1861)
This commit is contained in:
parent
788d22f9e9
commit
2478ffb695
6 changed files with 8 additions and 10 deletions
|
@ -162,7 +162,7 @@ function Owner(guildId: string, owner: User) {
|
|||
}
|
||||
|
||||
function ServerInfoTab({ guild }: GuildProps) {
|
||||
const [owner] = useAwaiter(() => UserUtils.fetchUser(guild.ownerId), {
|
||||
const [owner] = useAwaiter(() => UserUtils.getUser(guild.ownerId), {
|
||||
deps: [guild.ownerId],
|
||||
fallbackValue: null
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue