File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ export default class SimpleMDEEditor extends React.PureComponent<
4848 SimpleMDEEditorState
4949> {
5050 private elementWrapperRef : any ;
51- private textAreaRef : any ;
5251
5352 static defaultProps = {
5453 events : { } ,
@@ -171,10 +170,6 @@ export default class SimpleMDEEditor extends React.PureComponent<
171170 this . elementWrapperRef = e ;
172171 } ;
173172
174- private buildTextAreaRef = ( e : any ) => {
175- this . textAreaRef = e ;
176- } ;
177-
178173 render ( ) {
179174 const {
180175 events,
@@ -192,7 +187,7 @@ export default class SimpleMDEEditor extends React.PureComponent<
192187 return (
193188 < div id = { `${ this . id } -wrapper` } { ...rest } ref = { this . buildWrapperRef } >
194189 { label && < label htmlFor = { this . id } > { label } </ label > }
195- < textarea id = { this . id } ref = { this . buildTextAreaRef } />
190+ < textarea id = { this . id } />
196191 </ div >
197192 ) ;
198193 }
You can’t perform that action at this time.
0 commit comments