From 2b32a9c1ff3cc0f0297ff06eb474025aa5892ecc Mon Sep 17 00:00:00 2001 From: Christian Andolf Date: Fri, 9 May 2025 09:57:55 +0200 Subject: [PATCH] chore: rename functions to make more sense --- .../components/MyPages/DigitalTeamMemberCard/Content.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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} > -
-
+
+