diff --git a/client/components/file-dropdown/index.tsx b/client/components/file-dropdown/index.tsx index 83b04ff3..f0a91d6d 100644 --- a/client/components/file-dropdown/index.tsx +++ b/client/components/file-dropdown/index.tsx @@ -19,6 +19,9 @@ const FileDropdown = ({ }) => { const [expanded, setExpanded] = useState(false) const [items, setItems] = useState([]) + const changeHandler = (next: boolean) => { + setExpanded(next) + } const onOpen = useCallback(() => { setExpanded(true) @@ -62,11 +65,15 @@ const FileDropdown = ({ // a list of files with an icon and a title return ( - + + + + ) }