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:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user