diff --git a/common/app/Map/Super-Block.jsx b/common/app/Map/Super-Block.jsx index 6d7038d2a3..c5ce006263 100644 --- a/common/app/Map/Super-Block.jsx +++ b/common/app/Map/Super-Block.jsx @@ -27,8 +27,7 @@ function mapStateToProps(_, { dashedName }) { isOpen, dashedName, title: superBlock.title || dashedName, - blocks: superBlock.blocks || [], - message: superBlock.message + blocks: superBlock.blocks || [] }) ); } @@ -37,7 +36,6 @@ const propTypes = { blocks: PropTypes.array, dashedName: PropTypes.string, isOpen: PropTypes.bool, - message: PropTypes.string, title: PropTypes.string, toggleThisPanel: PropTypes.func }; @@ -52,17 +50,6 @@ export class SuperBlock extends PureComponent { this.props.toggleThisPanel(eventKey); } - renderMessage(message) { - if (!message) { - return null; - } - return ( -
- { message } -
- ); - } - renderHeader(isOpen, title, isCompleted) { return (
@@ -81,7 +68,6 @@ export class SuperBlock extends PureComponent { title, dashedName, blocks, - message, isOpen } = this.props; return ( @@ -95,7 +81,6 @@ export class SuperBlock extends PureComponent { key={ dashedName || title } onSelect={ this.handleSelect } > - { this.renderMessage(message) } );