+
Skip to content

Conversation

PrimotionStudio
Copy link

Automatically close the mobile sidebar when a menu button is clicked.

Changes

Added setOpenMobile from useSidebar()

Added onClick={() => setOpenMobile(false)} to SidebarMenuButton

Copy link

vercel bot commented Oct 9, 2025

@PrimotionStudio is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载