[Glitch] Hide empty padding box if no status in Wrapstodon highlighted post
Port 54bc97cfce to glitch-soc
Co-authored-by: Chan Nyein Tun <29679269+channyeintun@users.noreply.github.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
06a49fa0d0
commit
e826e0e281
1 file changed
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user