Skip to content

Commit 42a1c2f

Browse files
authored
Update FilesPage.jsx
1 parent 57d441e commit 42a1c2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/files-and-videos/files-page/FilesPage.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useDispatch, useSelector } from 'react-redux';
44
import { FormattedMessage, useIntl } from '@edx/frontend-platform/i18n';
55
import { CheckboxFilter, Container } from '@openedx/paragon';
66
import Placeholder from '../../editors/Placeholder';
7-
import { UPLOAD_FILE_MAX_SIZE } from '../../constants';
7+
import { getUploadFileMaxSize } from '../../constants';
88

99
import { RequestStatus } from '../../data/constants';
1010
import { useModels, useModel } from '../../generic/model-store';
@@ -92,7 +92,7 @@ const FilesPage = ({
9292
fileType: 'file',
9393
};
9494

95-
const maxFileSize = UPLOAD_FILE_MAX_SIZE;
95+
const maxFileSize = getUploadFileMaxSize();
9696

9797
const activeColumn = {
9898
id: 'activeStatus',

0 commit comments

Comments
 (0)