Fix: Don't show margins around disabled elements in the Dashboard (#946)

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
This commit is contained in:
skwig
2025-05-25 21:39:04 +02:00
committed by GitHub
parent 4303c1cb71
commit f5f00945bf
4 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ import { LeftLink1, LeftLink2, LeftLink3, RightLink1, RightLink2, RightLink3 } f
export const Directories = ({ isEnabled }: DirectoriesProps): JSX.Element => {
if (!isEnabled) {
return <box />;
return null;
}
return (