File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 99 DropdownMenuSeparator ,
1010 DropdownMenuTrigger ,
1111} from "@/components/ui/dropdown-menu" ;
12- import { ScrollArea } from "@/components/ui/scroll-area" ;
1312import { useSidebar } from "@/components/ui/sidebar" ;
1413import { setLastUsedOrgCookie , setSessionCookie } from "@/lib/auth/cookies" ;
1514import { trpc } from "@/lib/trpc/client" ;
@@ -150,7 +149,7 @@ export const WorkspaceSwitcher: React.FC = () => {
150149 >
151150 < DropdownMenuLabel > Workspaces</ DropdownMenuLabel >
152151 < DropdownMenuGroup >
153- < ScrollArea className = "h-96" >
152+ < div className = "max- h-96 overflow-y-auto " >
154153 { filteredOrgs . map ( ( membership ) => (
155154 < DropdownMenuItem
156155 key = { membership . id }
@@ -175,7 +174,7 @@ export const WorkspaceSwitcher: React.FC = () => {
175174 ) }
176175 </ DropdownMenuItem >
177176 ) ) }
178- </ ScrollArea >
177+ </ div >
179178 < DropdownMenuSeparator />
180179 < DropdownMenuItem asChild >
181180 < Link href = "/new" className = "flex items-center" >
You can’t perform that action at this time.
0 commit comments