fix: returning null breaking CommentPosts

This commit is contained in:
David Wheatley 2021-12-27 20:54:00 +01:00
parent 09d1e289de
commit d5cd0bd339
No known key found for this signature in database
GPG Key ID: DCC0FCE349280DFF

View File

@ -114,7 +114,8 @@ export default class Post extends Component {
* @return {import('mithril').Children}
*/
content() {
return null;
// TODO: [Flarum 2.0] return `null`
return [];
}
/**