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.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
fix: copy by reference (#3517)
Martin MacDonald2ebd5c64bdd3
diff --git a/web/src/store/v1/memo.ts b/web/src/store/v1/memo.tsindex 752c7a255..5d1fe2fe7 100644--- a/web/src/store/v1/memo.ts+++ b/web/src/store/v1/memo.ts@@ -17,7 +17,7 @@ export const useMemoStore = create(getState: () => get(),fetchMemos: async (request: Partial<ListMemosRequest>) => {const { memos, nextPageToken } = await memoServiceClient.listMemos(request);- const memoMap = get().memoMapByName;+ const memoMap = { ...get().memoMapByName };for (const memo of memos) {memoMap[memo.name] = memo;}