Fix warnings

This commit is contained in:
Florian Brandel
2020-09-03 17:39:59 +02:00
committed by Bastian
parent 17baffe322
commit e93fc30016
4 changed files with 19 additions and 4 deletions

View File

@@ -165,7 +165,7 @@ export default function PageItem({pageName, items, leaving, onLeave}: PageItemPr
animationRunner.run();
setStateLeaving(false)
}
}, [stateLeaving, leaving])
}, [stateLeaving, leaving, animationsIn, animationsOut, onLeave])
const getAnimationStates = (name: string) => {
if (!animations) {