fix: select issue
This commit is contained in:
parent
10a875d6e8
commit
d73c3c7daf
@ -102,10 +102,14 @@ const Sidebar = () => {
|
|||||||
<Tabs defaultValue="Projects" orientation="vertical" className="mt-10">
|
<Tabs defaultValue="Projects" orientation="vertical" className="mt-10">
|
||||||
<Tabs.List>
|
<Tabs.List>
|
||||||
{[
|
{[
|
||||||
{ title: 'Projects', icon: <FolderIcon /> },
|
{ title: 'Projects', url: `/${orgSlug}/`, icon: <FolderIcon /> },
|
||||||
{ title: 'Settings', icon: <SettingsSlidersIcon /> },
|
{
|
||||||
].map(({ title, icon }, index) => (
|
title: 'Settings',
|
||||||
<NavLink to={`/${orgSlug}/${title}`} key={index}>
|
url: `/${orgSlug}/settings`,
|
||||||
|
icon: <SettingsSlidersIcon />,
|
||||||
|
},
|
||||||
|
].map(({ title, icon, url }, index) => (
|
||||||
|
<NavLink to={url} key={index}>
|
||||||
<Tabs.Trigger icon={icon} value={title}>
|
<Tabs.Trigger icon={icon} value={title}>
|
||||||
{title}
|
{title}
|
||||||
</Tabs.Trigger>
|
</Tabs.Trigger>
|
||||||
|
@ -23,7 +23,6 @@ export const tabsTheme = tv({
|
|||||||
// Vertical
|
// Vertical
|
||||||
'data-[orientation=vertical]:px-3',
|
'data-[orientation=vertical]:px-3',
|
||||||
'data-[orientation=vertical]:py-3',
|
'data-[orientation=vertical]:py-3',
|
||||||
'data-[orientation=vertical]:min-w-[240px]',
|
|
||||||
'data-[orientation=vertical]:w-full',
|
'data-[orientation=vertical]:w-full',
|
||||||
'data-[orientation=vertical]:focus-ring',
|
'data-[orientation=vertical]:focus-ring',
|
||||||
'data-[orientation=vertical]:rounded-xl',
|
'data-[orientation=vertical]:rounded-xl',
|
||||||
|
Loading…
Reference in New Issue
Block a user