refactor: message feed pagination

This commit is contained in:
zerosoul
2022-06-05 13:02:35 +08:00
parent 13a4c7c302
commit c73d531fa5
9 changed files with 415 additions and 121 deletions
+2 -1
View File
@@ -27,6 +27,7 @@ export default function MessageContextMenu({
// isMarkdown,
canEdit,
canPin,
canDelete,
canCopy,
canReply,
pinned,
@@ -97,7 +98,7 @@ export default function MessageContextMenu({
icon: <IconSelect className="icon" />,
handler: handleSelect,
},
{
canDelete && {
title: "Delete",
danger: true,
icon: <IconDelete className="icon" />,
+1 -1
View File
@@ -103,7 +103,7 @@ function Message({
popperOptions={{ strategy: "fixed" }}
disabled={readOnly}
interactive
placement="left"
placement="right"
trigger="click"
content={<Profile uid={fromUid} type="card" cid={contextId} />}
>