Skip to content

Commit

Permalink
keeps collapsibles open based on redux values
Browse files Browse the repository at this point in the history
  • Loading branch information
agnlez committed Mar 20, 2024
1 parent 8253f26 commit 74bd359
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export const CategoryList = (): JSX.Element => {
key={category.key}
className="group rounded-xl bg-gray-50 p-5"
onOpenChange={() => onClickCategory(category)}
defaultOpen={categories[category.key]}
>
<CollapsibleTrigger asChild>
<div className="flex w-full cursor-pointer items-center space-x-6">
Expand Down

0 comments on commit 74bd359

Please sign in to comment.