This commit is contained in:
Felix Albrigtsen 2022-04-24 14:52:05 +02:00
parent b4bac7ebb6
commit 5246d7e4d1
1 changed files with 3 additions and 1 deletions

View File

@ -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 (
<Stack spacing={2} sx={{ width: '100%' }}>