mirror of
https://github.com/usememos/memos.git
synced 2024-12-01 06:34:35 +03:00
fix: update isFetching
default value
This commit is contained in:
parent
75d622f4a2
commit
c97399a8ea
@ -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[]>) => {
|
||||
|
Loading…
Reference in New Issue
Block a user