mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 15:35:55 +01:00
Fix build errors and lint
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Card, Group, Stack } from '@mantine/core';
|
||||
import { Card } from '@mantine/core';
|
||||
import { RefObject } from 'react';
|
||||
import { useCardStyles } from '../../../layout/useCardStyles';
|
||||
import { useGridstack } from '../gridstack/use-gridstack';
|
||||
@@ -16,13 +16,7 @@ export const DashboardSidebar = ({ location, isGridstackReady }: DashboardSideba
|
||||
} = useCardStyles(false);
|
||||
|
||||
return (
|
||||
<Card
|
||||
p={0}
|
||||
m={0}
|
||||
radius="lg"
|
||||
className={cardClass}
|
||||
w={300}
|
||||
>
|
||||
<Card p={0} m={0} radius="lg" className={cardClass} w={300}>
|
||||
{isGridstackReady && <SidebarInner location={location} />}
|
||||
</Card>
|
||||
);
|
||||
|
||||
@@ -13,7 +13,7 @@ export const initializeGridstack = (
|
||||
items: AppType[],
|
||||
widgets: IWidget<string, any>[],
|
||||
isEditMode: boolean,
|
||||
wrapperColumnCount: 3 | 6 | 12,
|
||||
wrapperColumnCount: number,
|
||||
shapeSize: 'sm' | 'md' | 'lg',
|
||||
tilesWithUnknownLocation: TileWithUnknownLocation[],
|
||||
events: {
|
||||
|
||||
Reference in New Issue
Block a user