()
| 54 | } |
| 55 | |
| 56 | private view() { |
| 57 | if (this.props.insight && this.props.data) { |
| 58 | const c = compareProps(this.viewer, this.props.insight); |
| 59 | const sameDataRef = this.props.data === this.lastData; |
| 60 | if (!c.compare || !sameDataRef) { |
| 61 | this.layout(); |
| 62 | } |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | componentDidMount() { |
| 67 | const element = base.reactDOM.findDOMNode(this.viewerDiv) as HTMLElement; |
no test coverage detected