mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +02:00
fix: returning null breaking CommentPosts
This commit is contained in:
@@ -114,7 +114,8 @@ export default class Post extends Component {
|
||||
* @return {import('mithril').Children}
|
||||
*/
|
||||
content() {
|
||||
return null;
|
||||
// TODO: [Flarum 2.0] return `null`
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user