Skip to content

Commit

Permalink
Update components/TabList/tab-list.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Taylor <nick@nickyt.co>
  • Loading branch information
Bashamega and nickytonline authored Oct 20, 2024
1 parent 4ed2d74 commit c8d5121
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion components/TabList/tab-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ export const SubTabsList = ({ tabList, pageId, selectedTab, label, textSize, onS
role="tab"
aria-selected={isSelected ? "true" : "false"}
data-state={isSelected ? "active" : "inactive"}
tabIndex={0} // Added tabIndex for accessibility
key={index}
className={clsx(isSelected && "bg-white shadow", "rounded py-1 px-2", !isSelected && "text-light-slate-11")}
onClick={onSelect ? () => onSelect(tab) : undefined}
Expand Down

0 comments on commit c8d5121

Please sign in to comment.