From 17a32c3a0c7935ae294f1a054327421f3eebfa7d Mon Sep 17 00:00:00 2001 From: Alexander Jung Date: Thu, 1 Feb 2024 20:31:14 +0100 Subject: [PATCH] fix(components): Remove unused component props Signed-off-by: Alexander Jung --- src/components/kraftcloud-ad.tsx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/components/kraftcloud-ad.tsx b/src/components/kraftcloud-ad.tsx index 59ff2eeb..b64f43a9 100644 --- a/src/components/kraftcloud-ad.tsx +++ b/src/components/kraftcloud-ad.tsx @@ -3,11 +3,7 @@ import { Box, VStack, Heading, Flex, chakra } from '@chakra-ui/react'; import { CompanyKraftCloud } from 'components/logos'; import { t } from 'utils/i18n'; -export const KraftCloudAd = ({ title, url, children }: { - title: { string } - url: { string } - children: React.ReactNode -}) => { +export const KraftCloudAd = () => { return ( - {title || t('component.kraftcloud-strip.heading')} + {t('component.kraftcloud-strip.heading')} - {children || t('component.kraftcloud-strip.description')} + {t('component.kraftcloud-strip.description')}