formatting

This commit is contained in:
Athou
2025-02-14 13:49:46 +01:00
parent 13ad57da10
commit 903035ecfc
4 changed files with 48 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ import { client } from "app/client"
import type { CollapseRequest } from "app/types"
export const reloadTree = createAppAsyncThunk("tree/reload", async () => await client.category.getRoot().then(r => r.data))
export const collapseTreeCategory = createAppAsyncThunk(
"tree/category/collapse",
async (req: CollapseRequest) => await client.category.collapse(req)