Forgot to pass function to linkevent

This commit is contained in:
SleeplessOne1917 2023-09-25 08:36:07 -04:00
parent baa47eec6e
commit 3c8eba5a4b

View file

@ -182,11 +182,14 @@ export class Communities extends Component<any, CommunitiesState> {
<td className="text-right">
<SubscribeButton
communityView={cv}
onFollow={linkEvent({
onFollow={linkEvent(
{
i: this,
communityId: cv.community.id,
follow: false,
})}
},
this.handleFollow,
)}
onUnFollow={linkEvent(
{
i: this,