diff --git a/src/components/progressTracker/ProgressStep.tsx b/src/components/progressTracker/ProgressStep.tsx index 7fe8af11d..9b353ce9f 100644 --- a/src/components/progressTracker/ProgressStep.tsx +++ b/src/components/progressTracker/ProgressStep.tsx @@ -30,6 +30,7 @@ const ProgressStep: GenericComponent = ({ color, onClick, }: ProgressStepProps) => { + // If color is undefined, it will never be assigned but I need to have string, because undefined cannot be indexed const colorClassName = color || ''; const classNames = cx(theme['step'], { [theme['is-active']]: active,