mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
Default first menu item to be opened in side bar
This commit is contained in:
1 parent
25c335bb02
commit
243be3ef45
1 file changed
+1
-1
@@ -15,7 +15,7 @@ const SideBar = ({ menuItems }: { menuItems: any }) => {
|
||||
<Accordion.Root
|
||||
collapsible
|
||||
type="single"
|
||||
defaultValue="Overview"
|
||||
defaultValue={menuItems[0].label}
|
||||
className="w-full space-y-0.5"
|
||||
>
|
||||
{menuItems.map((group: NavMenuGroup) => (
|
||||
|
||||
Reference in new issue
Block a user