WIP Whiteboard Changes
This commit is contained in:
@@ -22,7 +22,7 @@ class ErrorBoundary extends React.Component {
|
||||
|
||||
render() {
|
||||
if (this.state.hasErrored === true) {
|
||||
return <div>Uh oh, something went wrong. {this.state.error}</div>;
|
||||
return <div>Uh oh, something went wrong.</div>;
|
||||
} else {
|
||||
return this.props.children;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user