mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
boris comment more properly showing
This commit is contained in:
parent
319e66616c
commit
8faf22dbbf
9 changed files with 80 additions and 11 deletions
|
@ -22,6 +22,7 @@ const mapDispatchToProps = {
|
|||
nodeLoadNode: NODE_ACTIONS.nodeLoadNode,
|
||||
nodeLockComment: NODE_ACTIONS.nodeLockComment,
|
||||
nodeEditComment: NODE_ACTIONS.nodeEditComment,
|
||||
nodeLoadMoreComments: NODE_ACTIONS.nodeLoadMoreComments,
|
||||
};
|
||||
|
||||
type IProps = ReturnType<typeof mapStateToProps> &
|
||||
|
@ -37,6 +38,7 @@ const BorisLayoutUnconnected: FC<IProps> = ({
|
|||
nodeLoadNode,
|
||||
nodeLockComment,
|
||||
nodeEditComment,
|
||||
nodeLoadMoreComments,
|
||||
}) => {
|
||||
const title = getRandomPhrase('BORIS_TITLE');
|
||||
|
||||
|
@ -92,6 +94,8 @@ const BorisLayoutUnconnected: FC<IProps> = ({
|
|||
user={user}
|
||||
onDelete={nodeLockComment}
|
||||
onEdit={nodeEditComment}
|
||||
onLoadMore={nodeLoadMoreComments}
|
||||
order="ASC"
|
||||
/>
|
||||
)}
|
||||
</Group>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue