= props => {
- if (props.comments === null) {
- // TODO: (@cvle) What's the reason for this being null?
- return Comments unavailable
;
- }
return (
diff --git a/src/core/client/stream/containers/StreamContainer.tsx b/src/core/client/stream/containers/StreamContainer.tsx
index 9f13938b4..d81319deb 100644
--- a/src/core/client/stream/containers/StreamContainer.tsx
+++ b/src/core/client/stream/containers/StreamContainer.tsx
@@ -22,9 +22,7 @@ export class StreamContainer extends React.Component {
};
public render() {
- const comments = this.props.asset.comments
- ? this.props.asset.comments.edges.map(edge => edge.node)
- : null;
+ const comments = this.props.asset.comments.edges.map(edge => edge.node);
return (