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