Skip to content

Commit

Permalink
Fix Kick Members Context Menu
Browse files Browse the repository at this point in the history
  • Loading branch information
theADAMJR committed Aug 12, 2021
1 parent 3910453 commit d86c819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/ctx-menus/guild-member-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const GuildMemberMenu: React.FunctionComponent<GuildMemberMenuProps> = ({ 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 (
<ContextMenu
Expand Down

0 comments on commit d86c819

Please sign in to comment.