 module.exports = React.createClass
   displayName: 'CreateProjectPage'
 
+  getInitialState: ->
+    {}
+
   render: ->
     <ChangeListener target={wizardData} handler={@renderWizard} />
 

        </table>

        <p><button type="submit" onClick={@handleSubmit}>Create project and upload subject images</button></p>
      </div>
    </div>


            subjectSet = apiClient.createType('subject_sets').createResource subjectSetData
            subjectSet.save()
              .then (subjectSet) ->
                sharedSubjectLinks =
                  project: project.id
                  subject_set: subjectSet.id

                for filename, metadata in wizardData.subjects
                  subjectData =
                    locations: [filename]
                    metadata: metadata
                    links: Object.create sharedSubjectLinks
                  subject = apiClient.createType('subject_sets').createResource subjectSetData
                  # subject.save().then (subject) ->
                  #   subject.locations

                console.group 'Created!'
                console.info 'project', project
                console.info 'workflow', workflow
