Skip to content

Commit

Permalink
fix(tabs): adjust label for steps to start at 1
Browse files Browse the repository at this point in the history
  • Loading branch information
hirsch88 committed Dec 1, 2022
1 parent 5618faa commit 600260e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const StepList: FunctionalComponent<TabProps> = ({ value, float, clickabl
}}
style={{ display: !tab.done ? 'block' : 'none' }}
>
{tab.failed ? '!' : tab.index}
{tab.failed ? '!' : (tab.index || 0) + 1}
</span>
</span>
<span
Expand Down

0 comments on commit 600260e

Please sign in to comment.