dismiss deleted message in RHS (#6914)

Этот коммит содержится в:
Saturnino Abril
2017-07-13 01:31:09 +09:00
коммит произвёл GitHub
родитель 6a056a0042
Коммит b1322746d2
4 изменённых файлов: 19 добавлений и 12 удалений

Просмотреть файл

@@ -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>
);