Refactor StoryProgressSegment to have better controlled animations

This commit is contained in:
Jamie Kyle 2024-08-13 15:19:34 -07:00 committed by GitHub
parent a973c27fd4
commit 74b90a5cdd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 171 additions and 147 deletions

View file

@ -96,6 +96,7 @@ function PlayedDot({
const start = played ? 1 : 0;
const end = played ? 0 : 1;
// eslint-disable-next-line react-hooks/exhaustive-deps -- FIXME
const [animProps] = useSpring(
{
config: SPRING_CONFIG,