chore: update unpin memo (#386)

This commit is contained in:
boojack
2022-10-31 19:27:56 +08:00
committed by GitHub
parent 4276a7a56d
commit 40d5686031
2 changed files with 2 additions and 17 deletions

View File

@ -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}>