From e83f99e389084abe398d73b39553c0583ae399ed Mon Sep 17 00:00:00 2001 From: okbel Date: Fri, 5 Jan 2018 07:28:51 -0300 Subject: [PATCH] Removing unused code --- .../components/CloseCommentsInfo.js | 29 ------------------- 1 file changed, 29 deletions(-) delete mode 100644 client/coral-configure/components/CloseCommentsInfo.js diff --git a/client/coral-configure/components/CloseCommentsInfo.js b/client/coral-configure/components/CloseCommentsInfo.js deleted file mode 100644 index cc0e12a77..000000000 --- a/client/coral-configure/components/CloseCommentsInfo.js +++ /dev/null @@ -1,29 +0,0 @@ -import React from 'react'; -import {Button} from 'coral-ui'; -import PropTypes from 'prop-types'; -import t from 'coral-framework/services/i18n'; - -const CloseCommentsInfo = ({status, onClick}) => ( - status === 'open' ? ( -
-

- {t('configure.open_stream_configuration')} -

- -
- ) : ( -
-

- {t('configure.close_stream_configuration')} -

- -
- ) -); - -CloseCommentsInfo.propTypes = { - status: PropTypes.string, - onClick: PropTypes.func, -}; - -export default CloseCommentsInfo;