Skip to content

Commit c42f0a5

Browse files
authored
fix: postfooter did not apply the empty subclass (#4085)
1 parent 821ca01 commit c42f0a5

File tree

1 file changed

+1
-1
lines changed
  • framework/core/js/src/forum/components

1 file changed

+1
-1
lines changed

framework/core/js/src/forum/components/Post.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default abstract class Post<CustomAttrs extends IPostAttrs = IPostAttrs>
9090
90
9191
);
9292

93-
items.add('footer', <footer className="Post-footer">{footerItems.length > 0 ? <ul>{listItems(footerItems)}</ul> : <ul></ul>}</footer>, 80);
93+
items.add('footer', <footer className="Post-footer">{footerItems.length > 0 ? <ul>{listItems(footerItems)}</ul> : null}</footer>, 80);
9494

9595
return items;
9696
}

0 commit comments

Comments
 (0)