diff --git a/commafeed-client/src/app/tree/slice.ts b/commafeed-client/src/app/tree/slice.ts index 14d2a91b..bf054bbb 100644 --- a/commafeed-client/src/app/tree/slice.ts +++ b/commafeed-client/src/app/tree/slice.ts @@ -84,7 +84,7 @@ export const treeSlice = createSlice({ } }) }) - builder.addCase(loadEntries.pending, (state, action) => { + builder.addCase(loadEntries.fulfilled, (state, action) => { if (!state.rootCategory) return const { source } = action.meta.arg