diff --git a/src/components/ErrorMessage.css b/src/components/ErrorMessage.css index 3177e43..e69de29 100644 --- a/src/components/ErrorMessage.css +++ b/src/components/ErrorMessage.css @@ -1,8 +0,0 @@ -.errorMessage { - height: 5rem; -} - -p { - margin: 0; - padding: 0; -} diff --git a/src/components/ErrorMessage.jsx b/src/components/ErrorMessage.jsx index 10e7276..e0388d0 100644 --- a/src/components/ErrorMessage.jsx +++ b/src/components/ErrorMessage.jsx @@ -1,11 +1,7 @@ import './ErrorMessage.css'; const ErrorMessage = (props) => { - return ( -
{props.errorMessage}
: <>>} -{props.errorMessage}
}
Hello from the home (/
) page!
Hello from the /manage-list
page!