Skip to content

Commit

Permalink
refactor(SLB-405): change opacity prop styule
Browse files Browse the repository at this point in the history
  • Loading branch information
Luqmaan Essop authored and luqmaanessop committed Jun 5, 2024
1 parent 29d0a09 commit dd5b48d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/Molecules/FadeUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function FadeUp({
reducedMotion ? 'reducedMotion: On' : 'reducedMotion: Off',
)}
transition={{ duration: 0.8 }}
initial={{ opacity: reducedMotion ? 1 : 0, y: reducedMotion ? 0 : yGap }}
style={{ opacity: reducedMotion ? 1 : 0, y: reducedMotion ? 0 : yGap }}
viewport={{ once: true }}
whileInView={{ opacity: 1, y: 0 }}
>
Expand Down

0 comments on commit dd5b48d

Please sign in to comment.