From 12896bd23eeba79884245c1c29fdc568cf21a7fa Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Mon, 14 Mar 2016 08:50:46 -0400 Subject: Converting to Webpack. Stage 1. --- web/react/components/post_attachment_list.jsx | 28 --------------------------- 1 file changed, 28 deletions(-) delete mode 100644 web/react/components/post_attachment_list.jsx (limited to 'web/react/components/post_attachment_list.jsx') diff --git a/web/react/components/post_attachment_list.jsx b/web/react/components/post_attachment_list.jsx deleted file mode 100644 index ae03e15d3..000000000 --- a/web/react/components/post_attachment_list.jsx +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. -// See License.txt for license information. - -import PostAttachment from './post_attachment.jsx'; - -export default class PostAttachmentList extends React.Component { - render() { - let content = []; - this.props.attachments.forEach((attachment, i) => { - content.push( - - ); - }); - - return ( -
- {content} -
- ); - } -} - -PostAttachmentList.propTypes = { - attachments: React.PropTypes.array.isRequired -}; -- cgit v1.2.3-1-g7c22