We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 694edb1 commit a49f0b4Copy full SHA for a49f0b4
src/files-and-videos/files-page/FilesPage.jsx
@@ -28,10 +28,13 @@ const FilesPage = ({
28
updatingStatus: updateAssetStatus,
29
errors: errorMessages,
30
} = useSelector(state => state.assets);
31
+
32
useEffect(() => {
33
dispatch(fetchAssets(courseId));
34
}, [courseId]);
35
36
const handleErrorReset = (error) => dispatch(resetErrors(error));
37
38
if (loadingStatus === RequestStatus.DENIED) {
39
return (
40
<div data-testid="under-construction-placeholder" className="row justify-contnt-center m-6">
0 commit comments