diff --git a/vscode/react/src/components/graph/SettingsControl.tsx b/vscode/react/src/components/graph/SettingsControl.tsx index 2793528e1d..3016a96ee7 100644 --- a/vscode/react/src/components/graph/SettingsControl.tsx +++ b/vscode/react/src/components/graph/SettingsControl.tsx @@ -1,4 +1,4 @@ -import { Menu } from '@headlessui/react' +import { Menu, MenuButton, MenuItem, MenuItems } from '@headlessui/react' import { CheckIcon } from '@heroicons/react/24/outline' import { CogIcon } from '@/components/graph/CogIcon' import clsx from 'clsx' @@ -17,7 +17,7 @@ export function SettingsControl({ as="div" className="relative" > - @@ -25,31 +25,26 @@ export function SettingsControl({ className="h-3 w-3" aria-hidden="true" /> - - - - {({ active }) => ( - + + + - + onClick={() => onWithColumnsChange(!showColumns)} + > + Show Columns + {showColumns && ( +