diff --git a/src/client/src/components/ErrorSnackbar.js b/src/client/src/components/ErrorSnackbar.js index ee2f324..ed4c219 100644 --- a/src/client/src/components/ErrorSnackbar.js +++ b/src/client/src/components/ErrorSnackbar.js @@ -16,7 +16,9 @@ export default function showError(props) { props.setOpen(false); }; - console.log(props.message); + if (props.message && props.message.length > 0) { + console.log(props.message); + } return (