Resolve ESLint Errors (#934)

This commit is contained in:
Hardikkumar Nai
2021-07-15 19:23:07 +05:30
committed by GitHub
parent 103b3bf6c9
commit 0bbf9de963
7 changed files with 47 additions and 47 deletions

View File

@@ -109,7 +109,7 @@ export const createCollectionContextMenuButton = (
iconSrc: AddUdfIcon,
onClick: () => {
const selectedCollection: ViewModels.Collection = useSelectedNode.getState().findSelectedCollection();
selectedCollection && selectedCollection.onNewUserDefinedFunctionClick(selectedCollection, undefined);
selectedCollection && selectedCollection.onNewUserDefinedFunctionClick(selectedCollection);
},
label: "New UDF",
});