 #    along with osu!web.  If not, see <http://www.gnu.org/licenses/>.
 ###
 
-{button, div, span, textarea} = ReactDOMFactories
+{button, div, span} = ReactDOMFactories
+
+el = React.createElement
 
 bn = 'comment-editor'
 

  constructor: (props) ->
    super props

    @textareaRef = React.createRef()

    @state =
      message: @props.message ? ''



  componentDidMount: =>
    @textarea.selectionStart = -1
    @textarea.focus() if (@props.focus ? true)


  componentWillUnmount: =>
