Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
qubis741 committed Sep 7, 2023
1 parent f69cfaa commit 4b1e73d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/progressTracker/ProgressStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const ProgressStep: GenericComponent<ProgressStepProps> = ({
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,
Expand Down

0 comments on commit 4b1e73d

Please sign in to comment.