Hide empty padding box if no status in Wrapstodon highlighted post (#37289)

Co-authored-by: Chan Nyein Tun <29679269+channyeintun@users.noreply.github.com>
This commit is contained in:
Chan Nyein Tun 2026-01-02 20:20:11 +07:00 committed by GitHub
parent 2b74572ebd
commit 54bc97cfce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,7 +52,7 @@ export const HighlightedPost: React.FC<{
);
if (!status) {
return <div className={classNames(styles.box, styles.mostBoostedPost)} />;
return null;
}
let label;