diff --git a/src/context/intermediate/popovers/ChannelInfo.tsx b/src/context/intermediate/popovers/ChannelInfo.tsx index 574943c8..2abce2fc 100644 --- a/src/context/intermediate/popovers/ChannelInfo.tsx +++ b/src/context/intermediate/popovers/ChannelInfo.tsx @@ -24,7 +24,7 @@ export function ChannelInfo({ channel_id, onClose }: Props) {
-

{ getChannelName(ctx.client, channel, [ ], true) }

+

{ getChannelName(ctx.client, channel, true) }

diff --git a/src/pages/settings/server/Invites.tsx b/src/pages/settings/server/Invites.tsx index 115677c7..c1bca3df 100644 --- a/src/pages/settings/server/Invites.tsx +++ b/src/pages/settings/server/Invites.tsx @@ -41,7 +41,7 @@ export function Invites({ server }: Props) { {creator?.username ?? 'unknown'} - { (channel && creator) ? getChannelName(ctx.client, channel, [ creator ], true) : '#unknown' } + { (channel && creator) ? getChannelName(ctx.client, channel, true) : '#unknown' } { setDelete([