Closed shaunanoordin closed 4 years ago
Following PR #325 , there are now TWO instances of code that hardcodes a specific selection of Subjects when creating Assignments on staging.
assignments.js
AssignmentForm.jsx
Code Cleanup Required
Following PR #325 , there are now TWO instances of code that hardcodes a specific selection of Subjects when creating Assignments on staging.
assignments.js
, 'sampleSubjects' from the WildCam Gorongosa (staging) is used to make API calls to the Edu API.AssignmentForm.jsx
, Subjects from the "Is It Bacon?" project is used to allow the Assignment creation/editing form to validate/submit.Recommended solution
assignments.js
could be moved to AssignmentForm.jsx, OR