Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Costa committed Mar 17, 2021
1 parent 6f51798 commit e1460b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions react/components/ProgressBar/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ export function generateProgressBarStates(
export function getCurrentProgressBarState(status: string, packages: any) {
const currentProgressIndex = getOrderProgress(status, packages)

const progressBarStates = generateProgressBarStates(progressBarStates, currentProgressIndex, packages)
const generatedProgressBarStates = generateProgressBarStates(progressBarStates, currentProgressIndex, packages)

return progressBarStates[currentProgressIndex]?.label
return generatedProgressBarStates[currentProgressIndex]?.label
}

export function isDelivered(packages: any) {
Expand Down

0 comments on commit e1460b6

Please sign in to comment.