Fixed graph style panel close issue (#858)

This commit is contained in:
vaidankarswapnil 2021-06-07 21:08:13 +05:30 committed by GitHub
parent 7d0be7d355
commit f296c00a1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,8 @@ export const GraphStylingPanel: FunctionComponent<GraphStylingProps> = ({
const buttonLabel = "Ok"; const buttonLabel = "Ok";
const submit = () => { const submit = (event: React.FormEvent<HTMLFormElement>) => {
event.preventDefault();
closeSidePanel(); closeSidePanel();
}; };