File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/generic/modal-dropzone Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import { FileUpload as FileUploadIcon } from '@openedx/paragon/icons';
15
15
16
16
import useModalDropzone from './useModalDropzone' ;
17
17
import messages from './messages' ;
18
- import { UPLOAD_FILE_MAX_SIZE } from '../.. /constants' ;
18
+ import { getUploadFileMaxSize } from '@src /constants' ;
19
19
20
20
const ModalDropzone = ( {
21
21
fileTypes,
@@ -30,7 +30,7 @@ const ModalDropzone = ({
30
30
onChange,
31
31
onSavingStatus,
32
32
onSelectFile,
33
- maxSize = UPLOAD_FILE_MAX_SIZE ,
33
+ maxSize = getUploadFileMaxSize ( ) ,
34
34
} ) => {
35
35
const {
36
36
intl,
@@ -129,7 +129,7 @@ ModalDropzone.defaultProps = {
129
129
imageHelpText : '' ,
130
130
previewComponent : null ,
131
131
imageDropzoneText : '' ,
132
- maxSize : UPLOAD_FILE_MAX_SIZE ,
132
+ maxSize : getUploadFileMaxSize ( ) ,
133
133
invalidFileSizeMore : '' ,
134
134
onSelectFile : null ,
135
135
} ;
You can’t perform that action at this time.
0 commit comments