mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Refactor StoryProgressSegment to have better controlled animations
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user