MCPcopy Create free account
hub / github.com/sshwsfc/xadmin / componentDidCatch

Function componentDidCatch

xadmin-dashboard/src/components/Cell.js:168–170  ·  view source on GitHub ↗
(error, info)

Source from the content-addressed store, hash-verified

166 }
167
168 componentDidCatch(error, info) {
169 this.setState({ hasError: true })
170 }
171
172 render() {
173 if(this.state.hasError) {

Callers 1

DashboardClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected