MCPcopy Create free account
hub / github.com/SplootCode/splootcode / constructor

Method constructor

packages/editor/src/runtime/web_runtime.tsx:294–301  ·  view source on GitHub ↗
(props: ViewPageProps)

Source from the content-addressed store, hash-verified

292@observer
293export class ViewPage extends Component<ViewPageProps, ViewPageState> {
294 constructor(props: ViewPageProps) {
295 super(props)
296 this.state = {
297 hasError: false,
298 error: '',
299 errorInfo: '',
300 }
301 }
302
303 componentDidCatch(error, info) {
304 this.setState({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected