 {React, ReactBootstrap, JSON, toggleModal} = window
-{Button, Input} = ReactBootstrap
+{Button, FormControl} = ReactBootstrap
 {shell} = require 'electron'
 {openExternal} = shell
 clipboard = require('electron').clipboard

        <Button bsSize='small' onClick={@handleCopyClick}>
          {__('Copy')}
        </Button>
        <Input style={height: '250px'}
               type='textarea'
               label={__ 'Code'}
               placeholder={__ 'Code'}
               value={@state.code} />
      </div>
    </div>


      @setState
        code: code
  handleCopyClick: ->
    clipboard.writeText @state.code
    toggleModal __('Copy'), __('The code has been copied to the clipboard.')
  render: ->
    <div className='tab-container'>
