diff --git a/src/console/components/ErrorMessage.tsx b/src/console/components/ErrorMessage.tsx index 7f5bd004..868a1bb2 100644 --- a/src/console/components/ErrorMessage.tsx +++ b/src/console/components/ErrorMessage.tsx @@ -19,7 +19,11 @@ type Props = { const ErrorMessage: React.FC = ({ children }) => { useAutoResize(); - return

{children}

; + return ( +

+ {children} +

+ ); }; export default ErrorMessage; diff --git a/src/console/components/InfoMessage.tsx b/src/console/components/InfoMessage.tsx index 72ce8778..fd4b8b95 100644 --- a/src/console/components/InfoMessage.tsx +++ b/src/console/components/InfoMessage.tsx @@ -20,7 +20,11 @@ type Props = { const InfoMessage: React.FC = ({ children }) => { useAutoResize(); - return

{children}

; + return ( +

+ {children} +

+ ); }; export default InfoMessage;