Skip to content

Commit c57628b

Browse files
committed
fix: build issues
1 parent ad98a2f commit c57628b

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

apps/frontend/src/components/text-shimmer.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ type TextShimmerWave = {
88
as?: React.ElementType;
99
className?: string;
1010
duration?: number;
11-
zDistance?: number;
1211
xDistance?: number;
1312
yDistance?: number;
1413
spread?: number;
@@ -22,7 +21,6 @@ export function TextShimmerWave({
2221
as: Component = 'p',
2322
className,
2423
duration = 1,
25-
zDistance = 10,
2624
xDistance = 2,
2725
yDistance = -2,
2826
spread = 1,
@@ -54,15 +52,15 @@ export function TextShimmerWave({
5452
'inline-block whitespace-pre [transform-style:preserve-3d]'
5553
)}
5654
initial={{
57-
translateZ: 0,
5855
scale: 1,
5956
rotateY: 0,
6057
color: 'var(--base-color)',
58+
x: 0,
59+
y: 0,
6160
}}
6261
animate={{
63-
translateZ: [0, zDistance, 0],
64-
translateX: [0, xDistance, 0],
65-
translateY: [0, yDistance, 0],
62+
x: [0, xDistance, 0],
63+
y: [0, yDistance, 0],
6664
scale: [1, scaleDistance, 1],
6765
rotateY: [0, rotateYDistance, 0],
6866
color: [

0 commit comments

Comments
 (0)