Skip to content

Commit 11e7cef

Browse files
Merge pull request #384 from vansh2408/feature/default-open-sidebar-accordions
Feature/default open sidebar accordions
2 parents fb336b2 + 58b5bfb commit 11e7cef

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

pull_request_template.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ What problem does it solve, or what feature does it add?
2929
Examples of a good PR -
3030

3131
https://github.com/CodeChefVIT/papers-codechef/pull/247
32+
33+
34+
**Note:** Open all pull requests to `staging` branch

src/components/SidebarSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const SidebarSection: React.FC<SidebarSectionProps> = ({
2424
}) => (
2525
<div className="flex w-full flex-col items-baseline justify-between border-b-2 border-[#36266d] px-[10px]">
2626
<Accordion className="w-full" type="single" collapsible>
27-
<AccordionItem className="border-none no-underline" value="item-1">
27+
<AccordionItem className="border-none no-underline" value="item-1" defaultValue="item-1">
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)