minor cleanup

This commit is contained in:
2021-08-28 17:39:09 +02:00
parent 24e0bcbf92
commit 5f4da5d13f
14 changed files with 10 additions and 63 deletions

View File

@@ -20,7 +20,6 @@ interface Props {
}
const FileBrowserContextMenu: React.FC<Props> = (props) => {
function onClick({ props: itemProps, data }: ItemParams<{id:string}, Action>) {
if (itemProps?.id && data != null){
props.onSelect?.(data,itemProps.id)