diff --git a/src/frontend/src/components/nav/NavigationDrawer.tsx b/src/frontend/src/components/nav/NavigationDrawer.tsx index 876177fefc..b488af6ab8 100644 --- a/src/frontend/src/components/nav/NavigationDrawer.tsx +++ b/src/frontend/src/components/nav/NavigationDrawer.tsx @@ -1,12 +1,5 @@ import { t } from '@lingui/core/macro'; -import { - Container, - Drawer, - Flex, - Group, - ScrollArea, - Space -} from '@mantine/core'; +import { Container, Drawer, Flex, Group, Space } from '@mantine/core'; import { useViewportSize } from '@mantine/hooks'; import { useEffect, useMemo, useRef, useState } from 'react'; @@ -183,33 +176,31 @@ function DrawerContent({ closeFunc }: Readonly<{ closeFunc?: () => void }>) { - + + + + + {plugins.length > 0 ? ( - - - - {plugins.length > 0 ? ( - - ) : ( - <> - )} - + ) : ( + <> + )}