Skip to content

Commit

Permalink
chore: reposition props
Browse files Browse the repository at this point in the history
  • Loading branch information
austinwoon committed Oct 19, 2023
1 parent a0c751c commit 529f96e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions react/src/Sidebar/SidebarList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const SectionWrapper: FC<PropsWithChildren & SectionWrapperProps> = ({
if (onlyCaretToggle) return <chakra.div {...props}>{children}</chakra.div>

return (
<chakra.button {...props} type="button">
<chakra.button type="button" {...props}>
{children}
</chakra.button>
)
Expand All @@ -78,7 +78,7 @@ const ToggleChevronWrapper: FC<PropsWithChildren & SectionWrapperProps> = ({
}) => {
if (onlyCaretToggle)
return (
<chakra.button {...props} type="button">
<chakra.button type="button" {...props}>
{children}
</chakra.button>
)
Expand Down

0 comments on commit 529f96e

Please sign in to comment.