This repository has been archived by the owner on Jul 18, 2024. It is now read-only.
Remove disallowed generic PropTypes workarounds #81
Labels
bug
Report of or fix for something that isn't working as intended
On the Course Import page we're forcing the use of generic object PropType via an ugly
PropTypes.objectOf(PropTypes.object)
. See here:https://github.com/openedx/frontend-app-library-authoring/blob/f62d0aa/src/library-authoring/course-import/CourseImportPage.jsx#L151
Remove that and alter the
ongoingImport
data structure accordingly so we can use a definite PropType.The text was updated successfully, but these errors were encountered: