()
| 101 | } |
| 102 | |
| 103 | componentDidMount() { |
| 104 | // Manually validate PropTypes - React 19 breaking change |
| 105 | PropTypes.checkPropTypes(CodeControl.propTypes, this.props, 'prop', 'CodeControl'); |
| 106 | |
| 107 | this.setState({ |
| 108 | lang: this.getInitialLang() || '', |
| 109 | }); |
| 110 | } |
| 111 | |
| 112 | componentDidUpdate(prevProps, prevState) { |
| 113 | this.updateCodeMirrorProps(prevState); |
nothing calls this directly
no outgoing calls
no test coverage detected