mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-08 09:34:16 +00:00
Set person_id to myId in handleLeaveModTeam (#1929)
This commit is contained in:
parent
021677316d
commit
9e246beb03
|
@ -573,7 +573,7 @@ export class Sidebar extends Component<SidebarProps, SidebarState> {
|
|||
i.setState({ leaveModTeamLoading: true });
|
||||
i.props.onLeaveModTeam({
|
||||
community_id: i.props.community_view.community.id,
|
||||
person_id: 92,
|
||||
person_id: myId,
|
||||
added: false,
|
||||
auth: myAuthRequired(),
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue