summaryrefslogtreecommitdiffstats
path: root/webapp/components/post_view/post_list.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/post_view/post_list.jsx')
-rw-r--r--webapp/components/post_view/post_list.jsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/webapp/components/post_view/post_list.jsx b/webapp/components/post_view/post_list.jsx
index 3ae768b5c..8d790832e 100644
--- a/webapp/components/post_view/post_list.jsx
+++ b/webapp/components/post_view/post_list.jsx
@@ -370,6 +370,10 @@ export default class PostList extends React.PureComponent {
for (let i = posts.length - 1; i >= 0; i--) {
const post = posts[i];
+ if (post == null) {
+ continue;
+ }
+
const postCtl = (
<Post
ref={post.id}