Skip to content

Commit

Permalink
refactor: leverage milestone.id in status check
Browse files Browse the repository at this point in the history
  • Loading branch information
nunogois committed Nov 25, 2024
1 parent 3058f6d commit f42b788
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export const ReleasePlan = ({ plan }: IReleasePlanProps) => {
<ReleasePlanMilestone
milestone={milestone}
status={
index === activeIndex
milestone.id === activeMilestoneId
? 'active'
: index < activeIndex
? 'completed'
Expand Down

0 comments on commit f42b788

Please sign in to comment.