MCPcopy Create free account
hub / github.com/Noumena-Network/code / constructor

Method constructor

src/components/SentryErrorBoundary.ts:12–15  ·  view source on GitHub ↗
(props: Props)

Source from the content-addressed store, hash-verified

10
11export class SentryErrorBoundary extends React.Component<Props, State> {
12 constructor(props: Props) {
13 super(props)
14 this.state = { hasError: false }
15 }
16
17 static getDerivedStateFromError(): State {
18 return { hasError: true }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected