Module 61259

305 characters · in 738b1f2ed51b08d3.js
Dependencies
Required by (1)
Lazily required by (0)none
Requires (1)
Lazily requires (0)none
Source Raw
function(e,t,n){n.d(t,{t:()=>a});var l=n(64700);class a extends l.PureComponent{state={error:null};static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("ErrorBoundary caught an error",e,t)}render(){return null!=this.state.error?this.props.fallback:this.props.children}}}