       </label>
       <ActivityTable
         activity={@state.articles}
-        headers={ths}
+        headers={headers}
         noActivityMessage={noActivityMessage}
       />
   </div>


    noActivityMessage = 'There are not currently any DYK-eligible articles.'

    ths = headers.map (header) =>
      <th onClick={@sortArticles} className='sortable' data-sort-key={header.key}>
        {header.title}
      </th>

    <div>
      <label>
        <input ref='myCourses' type='checkbox' onChange={@setCourseScope} />

  setCourseScope: (e) ->
    scoped = e.target.checked
    ServerActions.fetchDYKArticles(scoped: scoped)

  render: ->
    headers = [
