0
0
Fork 0

Upgrade to Prettier 3 (#25902)

This commit is contained in:
Renaud Chaput 2023-07-13 11:26:45 +02:00 committed by GitHub
parent 0d7340380c
commit 73b64b8917
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 82 additions and 56 deletions

View file

@ -32,7 +32,7 @@ export const AnimatedNumber: React.FC<Props> = ({ value, obfuscate }) => {
const willEnter = useCallback(() => ({ y: -1 * direction }), [direction]);
const willLeave = useCallback(
() => ({ y: spring(1 * direction, { damping: 35, stiffness: 400 }) }),
[direction]
[direction],
);
if (reduceMotion) {