fix: initial system locale (#1684)

This commit is contained in:
boojack
2023-05-20 09:39:20 +08:00
committed by GitHub
parent b40571095d
commit ae1d9adf65
7 changed files with 18 additions and 39 deletions

View File

@ -210,10 +210,7 @@ const Memo: React.FC<Props> = (props: Props) => {
return (
<>
<div
className={`memo-wrapper ${"memos-" + memo.id} ${relatedMemoList.length > 0 && "pinned"} ${memo.pinned ? "pinned" : ""}`}
ref={memoContainerRef}
>
<div className={`memo-wrapper ${"memos-" + memo.id} ${memo.pinned && !readonly ? "pinned" : ""}`} ref={memoContainerRef}>
<div className="memo-top-wrapper">
<div className="status-text-container">
<Link className="time-text" to={`/m/${memo.id}`} onClick={handleMemoCreatedTimeClick}>