Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

fix: memo comment keys

Steven81d24f32a7b9
diff --git a/web/src/assets/wasm_exec.js b/web/src/assets/wasm_exec.js
index 480c2a4f7..216bc868a 100644
--- a/web/src/assets/wasm_exec.js
+++ b/web/src/assets/wasm_exec.js
@@ -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
diff --git a/web/src/pages/MemoDetail.tsx b/web/src/pages/MemoDetail.tsx
index 89ffe4573..a2ea39688 100644
--- a/web/src/pages/MemoDetail.tsx
+++ b/web/src/pages/MemoDetail.tsx
@@ -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 />
))}
</>
)}