diff --git a/src/Explorer/Panes/GraphStylingPanel/GraphStylingPanel.tsx b/src/Explorer/Panes/GraphStylingPanel/GraphStylingPanel.tsx index 9fc520693..e5835e731 100644 --- a/src/Explorer/Panes/GraphStylingPanel/GraphStylingPanel.tsx +++ b/src/Explorer/Panes/GraphStylingPanel/GraphStylingPanel.tsx @@ -19,7 +19,8 @@ export const GraphStylingPanel: FunctionComponent = ({ const buttonLabel = "Ok"; - const submit = () => { + const submit = (event: React.FormEvent) => { + event.preventDefault(); closeSidePanel(); };