From c9b0a79039367960499ad3b16fabca30591c6e80 Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Wed, 30 Aug 2023 20:44:19 -0400 Subject: [PATCH] add invite context menu icon --- src/components/ChannelListItem.tsx | 3 +++ src/components/GuildItem.tsx | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/components/ChannelListItem.tsx b/src/components/ChannelListItem.tsx index c212f5a..db5c7cc 100644 --- a/src/components/ChannelListItem.tsx +++ b/src/components/ChannelListItem.tsx @@ -65,6 +65,9 @@ function ChannelListItem({ guild, channel, isCategory, active }: Props) { onClick: () => { openModal(CreateInviteModal, { guild_id: guild.id, channel_id: channel.id }); }, + iconProps: { + icon: "mdiAccountPlus", + }, }, ]); diff --git a/src/components/GuildItem.tsx b/src/components/GuildItem.tsx index 456f3bc..73d1563 100644 --- a/src/components/GuildItem.tsx +++ b/src/components/GuildItem.tsx @@ -68,6 +68,9 @@ function GuildItem(props: Props) { onClick: () => { openModal(CreateInviteModal, { guild_id: guild.id }); }, + iconProps: { + icon: "mdiAccountPlus", + }, }, ]);