From d5cd0bd3395d75e163459be4f75c59e8506d0136 Mon Sep 17 00:00:00 2001 From: David Wheatley Date: Mon, 27 Dec 2021 20:54:00 +0100 Subject: [PATCH] fix: returning null breaking CommentPosts --- js/src/forum/components/Post.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/src/forum/components/Post.js b/js/src/forum/components/Post.js index 93f6141b7..5fd0c8e5f 100644 --- a/js/src/forum/components/Post.js +++ b/js/src/forum/components/Post.js @@ -114,7 +114,8 @@ export default class Post extends Component { * @return {import('mithril').Children} */ content() { - return null; + // TODO: [Flarum 2.0] return `null` + return []; } /**