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:
parent
2b74572ebd
commit
54bc97cfce
@ -52,7 +52,7 @@ export const HighlightedPost: React.FC<{
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (!status) {
|
if (!status) {
|
||||||
return <div className={classNames(styles.box, styles.mostBoostedPost)} />;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
let label;
|
let label;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user