|
|
|
@ -66,7 +66,7 @@ export default class ErrorBoundary extends PureComponent {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
render () {
|
|
|
|
|
const { PremiumModalHeaderAnimationTier2 } = getModule('PremiumModalHeaderAnimationTier2');
|
|
|
|
|
// const { PremiumModalHeaderAnimationTier2 } = getModule('PremiumModalHeaderAnimationTier2');
|
|
|
|
|
return (
|
|
|
|
|
<>
|
|
|
|
|
{this.state.hasCrashed && <div className={joinClassNames('vz-error-boundary', this.props.className, this.classes.colorStandard)}>
|
|
|
|
@ -85,7 +85,7 @@ export default class ErrorBoundary extends PureComponent {
|
|
|
|
|
<div className={joinClassNames('vz-error-boundary-block', 'vz-error-boundary-component-stack', this.classes.thin)}>
|
|
|
|
|
{this.state.componentStack}
|
|
|
|
|
</div>
|
|
|
|
|
{this.props.showScene && <PremiumModalHeaderAnimationTier2 className='vz-error-boundary-scene'/>}
|
|
|
|
|
{/* {this.props.showScene && <PremiumModalHeaderAnimationTier2 className='vz-error-boundary-scene'/>} */}
|
|
|
|
|
</div>}
|
|
|
|
|
{!this.state.hasCrashed && this.props.children}
|
|
|
|
|
</>
|
|
|
|
|