Implement basic version of likes

This commit is contained in:
riggraz
2019-09-27 16:57:23 +02:00
parent 5ee6a4afae
commit 80164178c2
11 changed files with 189 additions and 18 deletions

View File

@@ -97,16 +97,19 @@ class BoardP extends React.Component<Props> {
<PostList
posts={posts.items}
postStatuses={postStatuses.items}
hasMore={posts.haveMore}
areLoading={posts.areLoading}
error={posts.error}
hasMore={posts.haveMore}
handleLoadMore={() =>
posts.areLoading ?
null
:
requestPosts(board.id, posts.page + 1, filters.searchQuery, filters.postStatusId)
}
isLoggedIn={isLoggedIn}
authenticityToken={authenticityToken}
/>
</div>
);