diff options
Diffstat (limited to 'webapp/components/rhs_thread/rhs_thread.jsx')
-rw-r--r-- | webapp/components/rhs_thread/rhs_thread.jsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/webapp/components/rhs_thread/rhs_thread.jsx b/webapp/components/rhs_thread/rhs_thread.jsx index bbf61af19..5ce6af018 100644 --- a/webapp/components/rhs_thread/rhs_thread.jsx +++ b/webapp/components/rhs_thread/rhs_thread.jsx @@ -59,7 +59,10 @@ export default class RhsThread extends React.Component { currentUser: PropTypes.object.isRequired, useMilitaryTime: PropTypes.bool.isRequired, toggleSize: PropTypes.func, - shrink: PropTypes.func + shrink: PropTypes.func, + actions: PropTypes.shape({ + removePost: PropTypes.func.isRequired + }).isRequired } static defaultProps = { @@ -401,6 +404,7 @@ export default class RhsThread extends React.Component { status={status} isBusy={this.state.isBusy} getPostList={this.getPostListContainer} + removePost={this.props.actions.removePost} /> </div> ); |