   removeSubject: (subject) ->
     @props.subjectSet.removeLink('subjects', subject.id).then =>
       @setSubjectResources(@props.subjectSet.id, @state.page)
-      announceSetChange()
 
 EditSubjectSetPage = React.createClass
   displayName: 'EditSubjectSetPage'

VALID_SUBJECT_EXTENSIONS = ['.jpg', '.jpeg', '.png', '.gif', '.svg']
INVALID_FILENAME_CHARS = ['/', '\\', ':', ',']
MAX_FILE_SIZE = 600 * 1024

announceSetChange = ->
  apiClient.type('subject_sets').emit 'add-or-remove'

SubjectSetListingRow = React.createClass
  displayName: 'SubjectSetListingRow'

          creationErrors: errors
          manifests: {}
          files: {}

  deleteSubjectSet: ->
    @setState deletionError: null
