mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-16 09:57:08 -04:00
Fix Crashing With SHC
This commit is contained in:
parent
d460e926f1
commit
59b1fb3b02
2 changed files with 2 additions and 2 deletions
|
@ -141,7 +141,7 @@ function HiddenChannelLockScreen({ channel }: { channel: ExtendedChannel; }) {
|
|||
useEffect(() => {
|
||||
const membersToFetch: Array<string> = [];
|
||||
|
||||
const guildOwnerId = GuildStore.getGuild(guild_id).ownerId;
|
||||
const guildOwnerId = GuildStore.getGuild(guild_id)?.ownerId;
|
||||
if (!GuildMemberStore.getMember(guild_id, guildOwnerId)) membersToFetch.push(guildOwnerId);
|
||||
|
||||
Object.values(permissionOverwrites).forEach(({ type, id: userId }) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue