 SidebarSharedMachinesSection = require 'app/components/sidebarsharedmachinessection'
 SharingMachineInvitationWidget = require 'app/components/sidebarmachineslistitem/sharingmachineinvitationwidget'
 SidebarDifferentStackResources = require 'app/components/sidebarstacksection/sidebardifferentstackresources'
-
+{ findDOMNode } = require 'react-dom'
+
+MENU = null
 
 module.exports = class Sidebar extends React.Component
 

        EnvironmentFlux.actions.loadMachines()


  setActiveInvitationMachineId: ->

    { setActiveInvitationMachineId } = EnvironmentFlux.actions


  renderDrafts: ->

    @state.drafts?.toList().toJS().map (template) =>
      id = template._id
      title = _.unescape template.title
      <header
        ref="draft-#{id}"
        key={id}
        className="SidebarSection-header">
        <h4 className='SidebarSection-headerTitle'>
          <Link href="/Stack-Editor/#{id}" onClick={@onDraftTitleClick.bind this, id}>{title}</Link>
        </h4>
      </header>

