Set person_id to myId in handleLeaveModTeam (#1929)

This commit is contained in:
Lionir 2023-07-12 22:26:21 -04:00 committed by Dessalines
parent 28844a88c6
commit 196ca6b028

View file

@ -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(),
});