From 459ef4057aee738e274d8f2aebe76092f745ea6e Mon Sep 17 00:00:00 2001 From: rodolfo-ferreira Date: Fri, 22 Mar 2024 15:59:31 -0300 Subject: [PATCH] fix: remove variaveis --- sections/Content/TextIconAndImage.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sections/Content/TextIconAndImage.tsx b/sections/Content/TextIconAndImage.tsx index 262eb46..257fa75 100644 --- a/sections/Content/TextIconAndImage.tsx +++ b/sections/Content/TextIconAndImage.tsx @@ -124,14 +124,9 @@ const PLACEMENT = { }; export default function ImageSection(props: SectionProps>) { - const { titleCenter, blockText, image, placement, bgSpital, disableSpacing, disabledProps, device, _req } = props; + const { titleCenter, blockText, image, placement, bgSpital, disableSpacing, disabledProps, device } = props; const { subtitle, icon, nameIcon, subtitleWithTags, description, miniImage, cta, widthBlock, activeEclipseText } = blockText; - const url = _req?.url; - const urlArray = url?.split('/'); - const urlArrayLength = urlArray?.length -1; - - return (
{bgSpital && ( @@ -331,7 +326,6 @@ export default function ImageSection(props: SectionProps { return { ...props, - _req, device: ctx.device, }; };