From cf89141f8285296bbd248b2f22d1e629115cf990 Mon Sep 17 00:00:00 2001 From: ajnart Date: Thu, 11 Aug 2022 10:08:18 +0200 Subject: [PATCH] :bug: Fix a bug with the AppShelf accordion --- src/components/AppShelf/AppShelf.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AppShelf/AppShelf.tsx b/src/components/AppShelf/AppShelf.tsx index b557ba9af..2da1274e6 100644 --- a/src/components/AppShelf/AppShelf.tsx +++ b/src/components/AppShelf/AppShelf.tsx @@ -135,7 +135,7 @@ const AppShelf = (props: any) => { multiple value={toggledCategories} onChange={(state) => { - setToggledCategories(state); + setToggledCategories([...state]); }} > {categoryList.map((category, idx) => (