mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update unpin memo (#386)
This commit is contained in:
@ -184,13 +184,7 @@ const Memo: React.FC<Props> = (props: Props) => {
|
||||
|
||||
return (
|
||||
<div className={`memo-wrapper ${"memos-" + memo.id} ${memo.pinned ? "pinned" : ""}`} ref={memoContainerRef}>
|
||||
{memo.pinned && (
|
||||
<div className="corner-container">
|
||||
<span className="tip-text" onClick={handleTogglePinMemoBtnClick}>
|
||||
{t("common.unpin")}
|
||||
</span>
|
||||
</div>
|
||||
)}
|
||||
{memo.pinned && <div className="corner-container"></div>}
|
||||
<div className="memo-top-wrapper">
|
||||
<div className="status-text-container">
|
||||
<span className="time-text" onClick={handleShowMemoStoryDialog}>
|
||||
|
Reference in New Issue
Block a user