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

Method render

packages/editor/src/runtime/web_runtime.tsx:315–334  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

313 }
314
315 render() {
316 const { pkg, project } = this.props
317 if (this.state.hasError) {
318 return (
319 <div>
320 <h2>Error!</h2>
321 <p>{this.state.error.toString()}</p>
322 <button onClick={this.resetErrors}>Try again</button>
323 </div>
324 )
325 }
326 return (
327 <DocumentNodeComponent
328 project={project}
329 pkg={pkg}
330 frameScheme={this.props.frameScheme}
331 frameDomain={this.props.frameDomain}
332 />
333 )
334 }
335}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected