From d8bd57901e33a7057e26e782e295099ffcc0da89 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Wed, 6 Sep 2017 23:04:13 -0700 Subject: Removing webapp --- webapp/components/dot_menu/dot_menu_edit.jsx | 58 ---------------------------- 1 file changed, 58 deletions(-) delete mode 100644 webapp/components/dot_menu/dot_menu_edit.jsx (limited to 'webapp/components/dot_menu/dot_menu_edit.jsx') diff --git a/webapp/components/dot_menu/dot_menu_edit.jsx b/webapp/components/dot_menu/dot_menu_edit.jsx deleted file mode 100644 index 2ee0947e4..000000000 --- a/webapp/components/dot_menu/dot_menu_edit.jsx +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. -// See License.txt for license information. - -import React from 'react'; -import {FormattedMessage} from 'react-intl'; -import PropTypes from 'prop-types'; - -import * as Utils from 'utils/utils.jsx'; -import Constants from 'utils/constants.jsx'; - -export default function DotMenuEdit(props) { - let editId = null; - if (props.idCount > -1) { - editId = Utils.createSafeId(props.idPrefix + props.idCount); - } - - if (props.idPrefix.indexOf(Constants.RHS_ROOT) === 0) { - editId = props.idPrefix; - } - - return ( - - ); -} - -DotMenuEdit.propTypes = { - idPrefix: PropTypes.string.isRequired, - idCount: PropTypes.number, - post: PropTypes.object, - type: PropTypes.string, - commentCount: PropTypes.number -}; - -DotMenuEdit.defaultProps = { - idCount: -1 -}; -- cgit v1.2.3-1-g7c22