Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
81d24f32
Commit
81d24f32
authored
Apr 25, 2024
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: memo comment keys
parent
9bcd4f59
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
wasm_exec.js
web/src/assets/wasm_exec.js
+0
-1
MemoDetail.tsx
web/src/pages/MemoDetail.tsx
+2
-2
No files found.
web/src/assets/wasm_exec.js
View file @
81d24f32
...
@@ -363,7 +363,6 @@
...
@@ -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
...
...
web/src/pages/MemoDetail.tsx
View file @
81d24f32
...
@@ -92,7 +92,7 @@ const MemoDetail = () => {
...
@@ -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 = () => {
...
@@ -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
/>
))
}
))
}
</>
</>
)
}
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment