From d9bcd7f592ec14504abf1895f3551e98295a5862 Mon Sep 17 00:00:00 2001 From: Athou Date: Sat, 5 Apr 2025 17:13:27 +0200 Subject: [PATCH] remove warning about Non-Serializable Data passed to redux action --- commafeed-client/src/app/tree/thunks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commafeed-client/src/app/tree/thunks.ts b/commafeed-client/src/app/tree/thunks.ts index 0c15ac62..ac0d7a33 100644 --- a/commafeed-client/src/app/tree/thunks.ts +++ b/commafeed-client/src/app/tree/thunks.ts @@ -9,7 +9,7 @@ export const reloadTree = createAppAsyncThunk("tree/reload", async () => await c export const collapseTreeCategory = createAppAsyncThunk( "tree/category/collapse", - async (req: CollapseRequest) => await client.category.collapse(req) + async (req: CollapseRequest) => await client.category.collapse(req).then(r => r.data) ) export const selectNextUnreadTreeItem = createAppAsyncThunk(