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.

chore: restore icon

boojack62f0122cd52e
diff --git a/web/public/icons/more-white.svg b/web/public/icons/more-white.svg
new file mode 100644
index 000000000..235165729
--- /dev/null
+++ b/web/public/icons/more-white.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#FFFFFF"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>
\ No newline at end of file
diff --git a/web/src/components/MemoEditor.tsx b/web/src/components/MemoEditor.tsx
index 93747e5da..06e423e34 100644
--- a/web/src/components/MemoEditor.tsx
+++ b/web/src/components/MemoEditor.tsx
@@ -265,7 +265,7 @@ const MemoEditor: React.FC<Props> = () => {
const handleTagSeletorClick = useCallback((event: React.MouseEvent) => {
if (tagSeletorRef.current !== event.target && tagSeletorRef.current?.contains(event.target as Node)) {
- editorRef.current?.insertText((event.target as HTMLElement).textContent + " " ?? "");
+ editorRef.current?.insertText((event.target as HTMLElement).textContent ?? "");
toggleTagSeletor(false);
}
}, []);