MCPcopy Create free account
hub / github.com/alephdata/aleph / render

Method render

ui/src/components/common/ErrorBoundary.jsx:15–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 }
14
15 render() {
16 const { children, errorTitle } = this.props;
17
18 if (!!this.state.error) {
19 return (
20 <ErrorSection
21 title={errorTitle}
22 description={this.state.error.toString()}
23 />
24 );
25 }
26 return children;
27 }
28}
29
30export default ErrorBoundary;

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected