From 43571ce09b61f31cfa2f478c5d36ca6005592b54 Mon Sep 17 00:00:00 2001 From: Manuel Ruwe Date: Sun, 11 Dec 2022 15:04:05 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Fix=20attributes=20of=20card=20w?= =?UTF-8?q?rappers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Dashboard/Tiles/HomarrCardWrapper.tsx | 2 +- src/components/Dashboard/Tiles/Service/ServiceTile.tsx | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/Dashboard/Tiles/HomarrCardWrapper.tsx b/src/components/Dashboard/Tiles/HomarrCardWrapper.tsx index 883c8ecee..1f6450ab2 100644 --- a/src/components/Dashboard/Tiles/HomarrCardWrapper.tsx +++ b/src/components/Dashboard/Tiles/HomarrCardWrapper.tsx @@ -11,5 +11,5 @@ export const HomarrCardWrapper = ({ ...props }: HomarrCardWrapperProps) => { cx, classes: { card: cardClass }, } = useCardStyles(); - return ; + return ; }; diff --git a/src/components/Dashboard/Tiles/Service/ServiceTile.tsx b/src/components/Dashboard/Tiles/Service/ServiceTile.tsx index ce71dd60f..827d50e2a 100644 --- a/src/components/Dashboard/Tiles/Service/ServiceTile.tsx +++ b/src/components/Dashboard/Tiles/Service/ServiceTile.tsx @@ -1,9 +1,10 @@ -import { Card, Center, Text, UnstyledButton } from '@mantine/core'; +import { Center, Text, UnstyledButton } from '@mantine/core'; import { NextLink } from '@mantine/next'; import { createStyles } from '@mantine/styles'; import { ServiceType } from '../../../../types/service'; import { useCardStyles } from '../../../layout/useCardStyles'; import { useEditModeStore } from '../../Views/useEditModeStore'; +import { HomarrCardWrapper } from '../HomarrCardWrapper'; import { BaseTileProps } from '../type'; import { ServiceMenu } from './ServiceMenu'; @@ -33,7 +34,7 @@ export const ServiceTile = ({ className, service }: ServiceTileProps) => { ); return ( - + {/* TODO: add service menu */}
@@ -59,7 +60,7 @@ export const ServiceTile = ({ className, service }: ServiceTileProps) => { )} {/**/} - + ); };