Skip to content

Commit

Permalink
Update sidebar.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ilcsikbence authored Nov 13, 2024
1 parent 805ed41 commit 47937e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/www/registry/default/ui/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import * as React from "react"
import { Slot } from "@radix-ui/react-slot"
import { VisuallyHidden } from "@radix-ui/react-visually-hidden";
import { VariantProps, cva } from "class-variance-authority"
import { PanelLeft } from "lucide-react"

Expand Down Expand Up @@ -195,6 +196,9 @@ const Sidebar = React.forwardRef<
if (isMobile) {
return (
<Sheet open={openMobile} onOpenChange={setOpenMobile} {...props}>
<VisuallyHidden>
<SheetTitle />
</VisuallyHidden>
<SheetContent
data-sidebar="sidebar"
data-mobile="true"
Expand Down

0 comments on commit 47937e9

Please sign in to comment.