mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-25 07:02:10 -05:00
Fix: Remove unneeded argument.
This commit is contained in:
parent
d0b9cf9090
commit
0461c7e0dd
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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([
|
||||
|
|
Loading…
Reference in a new issue