Skip to content

Commit

Permalink
Merge pull request #18 from deco-sites/feat/servicos
Browse files Browse the repository at this point in the history
fix: remove variaveis
  • Loading branch information
RodolfoN1 authored Mar 22, 2024
2 parents 76646cf + 459ef40 commit dcd194f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions sections/Content/TextIconAndImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,9 @@ const PLACEMENT = {
};

export default function ImageSection(props: SectionProps<ReturnType<typeof loader>>) {
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 (
<div class="relative">
{bgSpital && (
Expand Down Expand Up @@ -331,7 +326,6 @@ export default function ImageSection(props: SectionProps<ReturnType<typeof loade
export const loader = (props: Props, _req: Request, ctx: FnContext) => {
return {
...props,
_req,
device: ctx.device,
};
};

0 comments on commit dcd194f

Please sign in to comment.