Skip to content

Commit 92c4992

Browse files
committed
fix react-transition-group & animejs example
1 parent 99ea48b commit 92c4992

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"tabWidth": 2,
3+
"semi": false,
4+
"singleQuote": true
5+
}

src/react-transition-group-anime-example.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ const animateGridIn = gridContainer =>
3434
easing,
3535
opacity: createOpacityAnimationConfig(true),
3636
translateY: [-30, 0],
37-
complete: () => triggerAnimationDoneEvent(gridContainer),
3837
delay: anime.stagger(70)
3938
},
4039
'-=500'
@@ -66,7 +65,6 @@ const animateCardIn = card =>
6665
targets: card,
6766
opacity: createOpacityAnimationConfig(true),
6867
translateY: [50, 0],
69-
complete: () => triggerAnimationDoneEvent(card),
7068
easing
7169
})
7270

@@ -75,7 +73,6 @@ const animateCardOut = card =>
7573
targets: card,
7674
translateY: -10,
7775
opacity: createOpacityAnimationConfig(false),
78-
complete: () => triggerAnimationDoneEvent(card),
7976
easing
8077
})
8178

0 commit comments

Comments
 (0)