Skip to content

Commit b3c407d

Browse files
auto open filter bar
1 parent 3b0fa05 commit b3c407d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/SidebarSection.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ const SidebarSection: React.FC<SidebarSectionProps> = ({
2323
updater,
2424
}) => (
2525
<div className="flex w-full flex-col items-baseline justify-between border-b-2 border-[#36266d] px-[10px]">
26-
<Accordion className="w-full" type="single" collapsible>
27-
<AccordionItem className="border-none no-underline" value="item-1" defaultValue="item-1">
26+
<Accordion className="w-full" type="single" value={label}>
27+
<AccordionItem className="border-none no-underline" value={label}>
2828
<AccordionTrigger className="w-full no-underline">
2929
<div className="font-play text-sm no-underline">{label}</div>
3030
</AccordionTrigger>

0 commit comments

Comments
 (0)