Skip to content

Commit 4fd5c8e

Browse files
(SalesPath): refactor
1 parent 72e02ac commit 4fd5c8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/SalesPath.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export const SalesPathItem: FC<SalesPathItemProps> = (props) => {
6969
className
7070
);
7171

72-
const tabIndex = type === 'current' ? 0 : -1;
72+
const tabIndex = isActive ? 0 : -1;
7373
const completedText = completedTitle || 'Stage Complete';
7474

7575
return (

0 commit comments

Comments
 (0)