diff --git a/apps/scandic-web/components/MyPages/DigitalTeamMemberCard/Content.tsx b/apps/scandic-web/components/MyPages/DigitalTeamMemberCard/Content.tsx index 8954995d9..d182b91e4 100644 --- a/apps/scandic-web/components/MyPages/DigitalTeamMemberCard/Content.tsx +++ b/apps/scandic-web/components/MyPages/DigitalTeamMemberCard/Content.tsx @@ -87,7 +87,7 @@ export default function DigitalTeamMemberCardContent({ } } - function renderShimmer(): CSSProperties { + function getShimmerStyle(): CSSProperties { const { x, y } = coords const oppositeX = 100 - (x / rect.width) * 100 const oppositeY = 100 - (y / rect.height) * 100 @@ -97,7 +97,7 @@ export default function DigitalTeamMemberCardContent({ } } - function renderSkew(): CSSProperties { + function getSkewStyle(): CSSProperties { const { x, y } = coords const centerX = rect.width / 2 const centerY = rect.height / 2 @@ -130,8 +130,8 @@ export default function DigitalTeamMemberCardContent({ onTouchMove={onInteractionMove} onTouchEnd={handleInteractionEnd} > -