diff --git a/src/files-and-videos/files-page/FilesPage.jsx b/src/files-and-videos/files-page/FilesPage.jsx index 057c5a22f3..afd79a5166 100644 --- a/src/files-and-videos/files-page/FilesPage.jsx +++ b/src/files-and-videos/files-page/FilesPage.jsx @@ -28,10 +28,13 @@ const FilesPage = ({ updatingStatus: updateAssetStatus, errors: errorMessages, } = useSelector(state => state.assets); + useEffect(() => { dispatch(fetchAssets(courseId)); }, [courseId]); + const handleErrorReset = (error) => dispatch(resetErrors(error)); + if (loadingStatus === RequestStatus.DENIED) { return (
diff --git a/src/plugin-slots/CourseOutlinePageAlertsSlot/index.jsx b/src/plugin-slots/CourseOutlinePageAlertsSlot/index.jsx index fbfcede6cb..06c11017a9 100644 --- a/src/plugin-slots/CourseOutlinePageAlertsSlot/index.jsx +++ b/src/plugin-slots/CourseOutlinePageAlertsSlot/index.jsx @@ -1,5 +1,5 @@ import { PluginSlot } from '@openedx/frontend-plugin-framework'; import React from 'react'; -const CourseOutlinePageAlertsSlot = () => ; +const CourseOutlinePageAlertsSlot = () => ; export default CourseOutlinePageAlertsSlot;