Skip to content

Commit

Permalink
chore(SidebarNavList): Use NativeDivElement type for props
Browse files Browse the repository at this point in the history
Co-authored-by: Heat Hamilton <[email protected]>
  • Loading branch information
EnMod and heatlikeheatwave authored Sep 12, 2024
1 parent 0ebaf44 commit 38f998e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/sidebar/components/sidebar-nav-list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ type NativeDivElement = JSX.IntrinsicElements['div']
export default function SidebarNavList({
className,
children,
}: {
className?: NativeDivElement['className']
children: ReactNode
}) {
}: NativeDivElement & { children: ReactNode }) {
return <ul className={classNames(s.navList, className)}>{children}</ul>
}

0 comments on commit 38f998e

Please sign in to comment.