Compare commits
1
Commits
3c9af70f98
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7543271086 |
@@ -66,7 +66,7 @@ export function SiteDock({ defaultLocale, isSuperAdmin = false }: SiteDockProps)
|
|||||||
: {
|
: {
|
||||||
onClick: () => setBouncing(id),
|
onClick: () => setBouncing(id),
|
||||||
animate: bouncing === id ? { y: [0, -5, 0, -2, 0] } : { y: 0 },
|
animate: bouncing === id ? { y: [0, -5, 0, -2, 0] } : { y: 0 },
|
||||||
transition: { duration: 0.35, ease: [0.22, 1, 0.36, 1] },
|
transition: { duration: 0.35, ease: [0.22, 1, 0.36, 1] as const },
|
||||||
onAnimationComplete: () => setBouncing((cur) => (cur === id ? null : cur)),
|
onAnimationComplete: () => setBouncing((cur) => (cur === id ? null : cur)),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user