mirror of
https://github.com/usememos/memos.git
synced 2025-02-14 18:30:42 +01:00
fix: memo comment keys
This commit is contained in:
parent
9bcd4f59a2
commit
81d24f32a7
@ -363,7 +363,6 @@
|
||||
"syscall/js.finalizeRef": (v_ref) => {
|
||||
// Note: TinyGo does not support finalizers so this should never be
|
||||
// called.
|
||||
console.warn("syscall/js.finalizeRef not implemented");
|
||||
},
|
||||
|
||||
// func stringVal(value string) ref
|
||||
|
@ -92,7 +92,7 @@ const MemoDetail = () => {
|
||||
/>
|
||||
<div className="pt-8 pb-16 w-full">
|
||||
<h2 id="comments" className="sr-only">
|
||||
Comments
|
||||
{t("memo.comment.self")}
|
||||
</h2>
|
||||
<div className="relative mx-auto flex-grow w-full min-h-full flex flex-col justify-start items-start gap-y-1">
|
||||
{comments.length === 0 ? (
|
||||
@ -108,7 +108,7 @@ const MemoDetail = () => {
|
||||
<span className="text-gray-400 text-sm ml-0.5">({comments.length})</span>
|
||||
</div>
|
||||
{comments.map((comment) => (
|
||||
<MemoView key={`${memo.name}-${memo.displayTime}`} memo={comment} showCreator />
|
||||
<MemoView key={`${comment.name}-${comment.displayTime}`} memo={comment} showCreator />
|
||||
))}
|
||||
</>
|
||||
)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user