The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix double tab on buttons
Terry Sutton48cf8c9f75da
diff --git a/studio/components/layouts/AccountLayout/WithSidebar.tsx b/studio/components/layouts/AccountLayout/WithSidebar.tsxindex 434296aa36d..4413ab6a3cb 100644--- a/studio/components/layouts/AccountLayout/WithSidebar.tsx+++ b/studio/components/layouts/AccountLayout/WithSidebar.tsx@@ -211,10 +211,7 @@ const SidebarLinkItem: FC<SidebarLinkProps> = ({return (<Link href={href || ''}><a className="block" target={isExternal ? '_blank' : '_self'}>- <button- className="group flex max-w-full cursor-pointer items-center space-x-2 border-scale-500 py-1 font-normal outline-none ring-scale-1200 focus-visible:z-10 focus-visible:ring-1 group-hover:border-scale-900"- onClick={onClick || (() => {})}- >+ <span className="group flex max-w-full cursor-pointer items-center space-x-2 border-scale-500 py-1 font-normal outline-none ring-scale-1200 focus-visible:z-10 focus-visible:ring-1 group-hover:border-scale-900">{isExternal && (<span className="truncate text-sm text-scale-900 transition group-hover:text-scale-1100"><IconArrowUpRight size={'tiny'} />@@ -226,7 +223,7 @@ const SidebarLinkItem: FC<SidebarLinkProps> = ({>{isSubitem ? <p>{label}</p> : label}</span>- </button>+ </span></a></Link>)diff --git a/studio/components/layouts/ProjectLayout/NavigationBar/NavigationIconButton.tsx b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationIconButton.tsxindex d6e2e0c5c26..fa2f9c3e883 100644--- a/studio/components/layouts/ProjectLayout/NavigationBar/NavigationIconButton.tsx+++ b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationIconButton.tsx@@ -18,7 +18,7 @@ const NavigationIconButton: FC<Props> = ({ route, isActive = false }) => {condition={route.link !== undefined}wrap={(children) => <Link href={route.link!}>{children}</Link>}>- <a+ <spanclassName={['transition-colors duration-200','flex items-center justify-center h-10 w-10 rounded', // Layout@@ -28,7 +28,7 @@ const NavigationIconButton: FC<Props> = ({ route, isActive = false }) => {].join(' ')}>{route.icon}- </a>+ </span></ConditionalWrap></Tooltip.Trigger><Tooltip.Portal>