Commit c97399a8 authored by steven's avatar steven

fix: update `isFetching` default value

parent 75d622f4
......@@ -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[]>) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment