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">
|
<td className="text-right">
|
||||||
<SubscribeButton
|
<SubscribeButton
|
||||||
communityView={cv}
|
communityView={cv}
|
||||||
onFollow={linkEvent({
|
onFollow={linkEvent(
|
||||||
|
{
|
||||||
i: this,
|
i: this,
|
||||||
communityId: cv.community.id,
|
communityId: cv.community.id,
|
||||||
follow: false,
|
follow: false,
|
||||||
})}
|
},
|
||||||
|
this.handleFollow,
|
||||||
|
)}
|
||||||
onUnFollow={linkEvent(
|
onUnFollow={linkEvent(
|
||||||
{
|
{
|
||||||
i: this,
|
i: this,
|
||||||
|
|
Loading…
Reference in a new issue