diff --git a/src/Explorer/Panes/PanelInfoErrorComponent.tsx b/src/Explorer/Panes/PanelInfoErrorComponent.tsx index 6467521ec..92934c28b 100644 --- a/src/Explorer/Panes/PanelInfoErrorComponent.tsx +++ b/src/Explorer/Panes/PanelInfoErrorComponent.tsx @@ -32,14 +32,8 @@ export const PanelInfoErrorComponent: React.FunctionComponent {icon} - - + + {message} {link && linkText && ( diff --git a/src/Explorer/Panes/RightPaneForm/RightPaneForm.tsx b/src/Explorer/Panes/RightPaneForm/RightPaneForm.tsx index a444db02d..e9d71ade8 100644 --- a/src/Explorer/Panes/RightPaneForm/RightPaneForm.tsx +++ b/src/Explorer/Panes/RightPaneForm/RightPaneForm.tsx @@ -1,3 +1,4 @@ +import { useNotificationConsole } from "hooks/useNotificationConsole"; import React, { FunctionComponent, ReactNode } from "react"; import { PanelFooterComponent } from "../PanelFooterComponent"; import { PanelInfoErrorComponent } from "../PanelInfoErrorComponent"; @@ -22,9 +23,12 @@ export const RightPaneForm: FunctionComponent = ({ isSubmitButtonDisabled = false, children, }: RightPaneFormProps) => { + const expandConsole = useNotificationConsole((state) => state.expandConsole); const handleOnSubmit = (event: React.FormEvent) => { event.preventDefault(); + console.log("right pane form clicked"); onSubmit(); + expandConsole(); }; return (