diff --git a/src/context/intermediate/popovers/ChannelInfo.tsx b/src/context/intermediate/popovers/ChannelInfo.tsx index 574943c84703770bf7f43be0e117a96e3c97f4ac..2abce2fcb5dc5e6a7d70fd1f8c1f45928ec594a7 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) { <Modal visible={true} onClose={onClose}> <div className={styles.info}> <div className={styles.header}> - <h1>{ getChannelName(ctx.client, channel, [ ], true) }</h1> + <h1>{ getChannelName(ctx.client, channel, true) }</h1> <div onClick={onClose}> <X size={36} /> </div> diff --git a/src/pages/settings/server/Invites.tsx b/src/pages/settings/server/Invites.tsx index 115677c783dbc2491ab90e81a7ef74f454ee4bb2..c1bca3dfedc6d52e7b52c95a68a8a36bd8598458 100644 --- a/src/pages/settings/server/Invites.tsx +++ b/src/pages/settings/server/Invites.tsx @@ -41,7 +41,7 @@ export function Invites({ server }: Props) { <span> <UserIcon target={creator} size={24} /> {creator?.username ?? 'unknown'} </span> - <span>{ (channel && creator) ? getChannelName(ctx.client, channel, [ creator ], true) : '#unknown' }</span> + <span>{ (channel && creator) ? getChannelName(ctx.client, channel, true) : '#unknown' }</span> <IconButton onClick={async () => { setDelete([