mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
fix: returning null breaking CommentPosts
This commit is contained in:
parent
09d1e289de
commit
d5cd0bd339
|
@ -114,7 +114,8 @@ export default class Post extends Component {
|
|||
* @return {import('mithril').Children}
|
||||
*/
|
||||
content() {
|
||||
return null;
|
||||
// TODO: [Flarum 2.0] return `null`
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user