Skip to content

Commit

Permalink
add invite context menu icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Puyodead1 committed Aug 31, 2023
1 parent 1605f82 commit c9b0a79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/ChannelListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
},
]);

Expand Down
3 changes: 3 additions & 0 deletions src/components/GuildItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ function GuildItem(props: Props) {
onClick: () => {
openModal(CreateInviteModal, { guild_id: guild.id });
},
iconProps: {
icon: "mdiAccountPlus",
},
},
]);

Expand Down

0 comments on commit c9b0a79

Please sign in to comment.