mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-26 14:21:13 +00:00
Forgot to pass function to linkevent
This commit is contained in:
parent
baa47eec6e
commit
3c8eba5a4b
1 changed files with 8 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue