           creationErrors: errors
           manifests: {}
           files: {}
+        announceSetChange()
 
   deleteSubjectSet: ->
     @setState deletionError: null

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

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'
