Skip to content

Commit

Permalink
isAnimatingFill change
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanmino committed Apr 19, 2022
1 parent 1b079dc commit d1408d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/step-indicator/StepIndicator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default function StepIndicator({
const isCurrentStep = stepIndex === currentStep;
const isFinished = currentStep > stepIndex;
const isPulsing = isCurrentStep && !isFinished;
const isAnimatingFill = stepIndex === currentStep - 1 && isFinished;
const isAnimatingFill = stepIndex === currentStep && isFinished;

return (
<Box
Expand Down

0 comments on commit d1408d3

Please sign in to comment.