mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 23:45:48 +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 { RefObject } from 'react';
|
||||||
import { useCardStyles } from '../../../layout/useCardStyles';
|
import { useCardStyles } from '../../../layout/useCardStyles';
|
||||||
import { useGridstack } from '../gridstack/use-gridstack';
|
import { useGridstack } from '../gridstack/use-gridstack';
|
||||||
@@ -16,13 +16,7 @@ export const DashboardSidebar = ({ location, isGridstackReady }: DashboardSideba
|
|||||||
} = useCardStyles(false);
|
} = useCardStyles(false);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Card
|
<Card p={0} m={0} radius="lg" className={cardClass} w={300}>
|
||||||
p={0}
|
|
||||||
m={0}
|
|
||||||
radius="lg"
|
|
||||||
className={cardClass}
|
|
||||||
w={300}
|
|
||||||
>
|
|
||||||
{isGridstackReady && <SidebarInner location={location} />}
|
{isGridstackReady && <SidebarInner location={location} />}
|
||||||
</Card>
|
</Card>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export const initializeGridstack = (
|
|||||||
items: AppType[],
|
items: AppType[],
|
||||||
widgets: IWidget<string, any>[],
|
widgets: IWidget<string, any>[],
|
||||||
isEditMode: boolean,
|
isEditMode: boolean,
|
||||||
wrapperColumnCount: 3 | 6 | 12,
|
wrapperColumnCount: number,
|
||||||
shapeSize: 'sm' | 'md' | 'lg',
|
shapeSize: 'sm' | 'md' | 'lg',
|
||||||
tilesWithUnknownLocation: TileWithUnknownLocation[],
|
tilesWithUnknownLocation: TileWithUnknownLocation[],
|
||||||
events: {
|
events: {
|
||||||
|
|||||||
Reference in New Issue
Block a user