chore: add memo actions to memo detail page

This commit is contained in:
Steven
2024-02-15 11:16:51 +08:00
parent f1ec5775a7
commit d22b772232
3 changed files with 43 additions and 12 deletions

View File

@ -135,7 +135,7 @@ const MemoView: React.FC<Props> = (props: Props) => {
)}
{currentUser && <ReactionSelector className="border-none" memo={memo} />}
</div>
{!readonly && <MemoActionMenu memo={memo} showPinned={props.showPinned} />}
{!readonly && <MemoActionMenu memo={memo} hiddenActions={props.showPinned ? [] : ["pin"]} />}
</div>
</div>
<MemoContent