Skip to content

Commit 15babd3

Browse files
committed
refactor: change SidebarInset component from 'main' to 'div'
1 parent a4418b6 commit 15babd3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/ui/sidebar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,9 +306,9 @@ function SidebarRail({ className, ...props }: React.ComponentProps<'button'>) {
306306
)
307307
}
308308

309-
function SidebarInset({ className, ...props }: React.ComponentProps<'main'>) {
309+
function SidebarInset({ className, ...props }: React.ComponentProps<'div'>) {
310310
return (
311-
<main
311+
<div
312312
data-slot='sidebar-inset'
313313
className={cn(
314314
'bg-background relative flex w-full flex-1 flex-col',

0 commit comments

Comments
 (0)