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: update `isFetching` default value

stevenc97399a8eaa6
diff --git a/web/src/store/modules/memo.ts b/web/src/store/modules/memo.ts
index 9ba275f94..aa089d03d 100644
--- a/web/src/store/modules/memo.ts
+++ b/web/src/store/modules/memo.ts
@@ -11,7 +11,8 @@ const memoSlice = createSlice({
initialState: {
memos: [],
tags: [],
- isFetching: false,
+ // isFetching flag should starts with true.
+ isFetching: true,
} as State,
reducers: {
setMemos: (state, action: PayloadAction<Memo[]>) => {