Log error from error box if any
This commit is contained in:
parent
11e93a18b3
commit
c3e539cd81
@ -1,7 +1,9 @@
|
||||
import React, { Fragment } from 'react';
|
||||
|
||||
function ErrorBox(props){
|
||||
console.error(props.msg);
|
||||
if (props.msg) {
|
||||
console.error(props.msg);
|
||||
}
|
||||
return (
|
||||
<Fragment>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user