Fix extension to work with latest state changes

This commit is contained in:
Alexander Skvortsov 2020-07-01 20:01:32 -04:00
parent b75d5c6670
commit 6a96d0244a

View File

@ -37,7 +37,7 @@ export default function() {
names.push(
<a href="#" onclick={e => {
e.preventDefault();
app.modal.show(new PostLikesModal({post}));
app.modal.show(PostLikesModal, {post});
}}>
{app.translator.transChoice('flarum-likes.forum.post.others_link', count, {count})}
</a>