Skip to content

Commit ac9af68

Browse files
committed
removed stale App.cable code in CommentBox
1 parent 6fb98dd commit ac9af68

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

client/app/bundles/comments/components/CommentBox/CommentBox.jsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ export default class CommentBox extends BaseComponent {
5151
this.subscribeChannel();
5252
}
5353

54-
componentWillUnmount() {
55-
App.cable.subscriptions.remove({ channel: "CommentsChannel" });
56-
}
57-
5854
refreshComments() {
5955
const { fetchComments } = this.props.actions;
6056
fetchComments();

0 commit comments

Comments
 (0)