summaryrefslogtreecommitdiffstats
path: root/webapp/components/file_attachment_list_container.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/file_attachment_list_container.jsx')
-rw-r--r--webapp/components/file_attachment_list_container.jsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/webapp/components/file_attachment_list_container.jsx b/webapp/components/file_attachment_list_container.jsx
index 77d93f509..4b05e392c 100644
--- a/webapp/components/file_attachment_list_container.jsx
+++ b/webapp/components/file_attachment_list_container.jsx
@@ -1,3 +1,5 @@
+import PropTypes from 'prop-types';
+
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
@@ -10,8 +12,8 @@ import FileAttachmentList from './file_attachment_list.jsx';
export default class FileAttachmentListContainer extends React.Component {
static propTypes = {
- post: React.PropTypes.object.isRequired,
- compactDisplay: React.PropTypes.bool.isRequired
+ post: PropTypes.object.isRequired,
+ compactDisplay: PropTypes.bool.isRequired
}
constructor(props) {