Fixed graph style panel close issue (#858)
This commit is contained in:
parent
7d0be7d355
commit
f296c00a1c
|
@ -19,7 +19,8 @@ export const GraphStylingPanel: FunctionComponent<GraphStylingProps> = ({
|
|||
|
||||
const buttonLabel = "Ok";
|
||||
|
||||
const submit = () => {
|
||||
const submit = (event: React.FormEvent<HTMLFormElement>) => {
|
||||
event.preventDefault();
|
||||
closeSidePanel();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue