Skip to content

Commit 56e4844

Browse files
Merge pull request #57 from Saifullah-dev/feature/list-layout
Feature/list layout
2 parents 0e45613 + 24a0875 commit 56e4844

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/File Manager/FileManager.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Loader from "../components/Loader/Loader";
1010
import PropTypes from "prop-types";
1111

1212
const FileManager = ({
13-
files = [],
13+
files,
1414
fileUploadConfig,
1515
isLoading,
1616
onCreateFolder,
@@ -159,7 +159,7 @@ const FileManager = ({
159159
};
160160

161161
FileManager.propTypes = {
162-
files: PropTypes.arrayOf(PropTypes.object),
162+
files: PropTypes.arrayOf(PropTypes.object).isRequired,
163163
};
164164

165165
export default FileManager;

0 commit comments

Comments
 (0)