diff --git a/src/components/Dashboard/Wrappers/Sidebar/Sidebar.tsx b/src/components/Dashboard/Wrappers/Sidebar/Sidebar.tsx index a8bd89ebe..183ae4368 100644 --- a/src/components/Dashboard/Wrappers/Sidebar/Sidebar.tsx +++ b/src/components/Dashboard/Wrappers/Sidebar/Sidebar.tsx @@ -1,4 +1,4 @@ -import { Card } from '@mantine/core'; +import { Card, Group, Stack } from '@mantine/core'; import { RefObject } from 'react'; import { useCardStyles } from '../../../layout/useCardStyles'; import { useGridstack } from '../gridstack/use-gridstack'; @@ -9,18 +9,24 @@ interface DashboardSidebarProps extends DashboardSidebarInnerProps { isGridstackReady: boolean; } -export const DashboardSidebar = ({ location, isGridstackReady }: DashboardSidebarProps) => ( - - {isGridstackReady && } - -); +export const DashboardSidebar = ({ location, isGridstackReady }: DashboardSidebarProps) => { + const { + cx, + classes: { card: cardClass }, + } = useCardStyles(false); + + return ( + + {isGridstackReady && } + + ); +}; interface DashboardSidebarInnerProps { location: 'right' | 'left'; @@ -37,17 +43,18 @@ const SidebarInner = ({ location }: DashboardSidebarInnerProps) => { } = useCardStyles(false); return ( - -
- -
-
+
+ +
); };