From d86c8193e523b72a7c410ddfb85f06d51791608b Mon Sep 17 00:00:00 2001 From: ADAMJR Date: Thu, 12 Aug 2021 16:56:25 +0100 Subject: [PATCH] Fix Kick Members Context Menu --- frontend/src/components/ctx-menus/guild-member-menu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/ctx-menus/guild-member-menu.tsx b/frontend/src/components/ctx-menus/guild-member-menu.tsx index dcab87d..d58f89d 100644 --- a/frontend/src/components/ctx-menus/guild-member-menu.tsx +++ b/frontend/src/components/ctx-menus/guild-member-menu.tsx @@ -12,7 +12,7 @@ const GuildMemberMenu: React.FunctionComponent = ({ guild, const selfUser = useSelector((s: Store.AppStore) => s.auth.user)!; const canManage = selfUser.id === guild.ownerId; - const isSelf = user.id !== selfUser.id; + const isSelf = user.id === selfUser.id; return (