diff --git a/app/src/frontend/error-box.js b/app/src/frontend/error-box.js index 87e2382b..79f87dd9 100644 --- a/app/src/frontend/error-box.js +++ b/app/src/frontend/error-box.js @@ -1,7 +1,9 @@ import React, { Fragment } from 'react'; function ErrorBox(props){ - console.error(props.msg); + if (props.msg) { + console.error(props.msg); + } return ( {