 Problem = React.createClass
   onStateToggle: (e) ->
     apiCall "POST", "/api/admin/problems/availability", {pid: @props.pid, state: !@props.disabled}
-    .done @props.onProblemChange()
+    .done @props.onProblemChange
 
   render: ->
     statusButton =

      return <h4>No problems have been loaded. Click <a href='#'>here</a> to get started.</h4>

    problemComponents = @props.problems.map ((problem, i) ->
      <Col xs={12} lg={6} key={i}>
        <Problem onProblemChange={@props.onProblemChange} {...problem}/>
      </Col>
    ).bind this

        <Label key={i}><a href="#">{tag}</a></Label>

    #TEMP
    problemFooter = "test"

    panelStyle = if @props.disabled then "default" else "info"

