Skip to content

Commit

Permalink
fix collapsible
Browse files Browse the repository at this point in the history
  • Loading branch information
going-confetti committed Oct 23, 2024
1 parent eeebebb commit 50c2cbb
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/components/Collapsible.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,18 @@ function Trigger({
...props
}: RadixCollapsible.CollapsibleTriggerProps) {
return (
<RadixCollapsible.Trigger
{...props}
asChild
css={css`
flex: 1 1 0;
cursor: var(--cursor-button);
`}
>
<Reset>
<Reset>
<RadixCollapsible.Trigger
{...props}
asChild
css={css`
flex: 1 1 0;
cursor: var(--cursor-button);
`}
>
<button type="button">{children}</button>
</Reset>
</RadixCollapsible.Trigger>
</RadixCollapsible.Trigger>
</Reset>
)
}

Expand Down

0 comments on commit 50c2cbb

Please sign in to comment.