diff --git a/packages/shared/src/components/tabs/TabList.tsx b/packages/shared/src/components/tabs/TabList.tsx index fc2949862e..645e432d84 100644 --- a/packages/shared/src/components/tabs/TabList.tsx +++ b/packages/shared/src/components/tabs/TabList.tsx @@ -45,6 +45,7 @@ function TabList({ offset: 0, indicatorOffset: 0, }); + const isAnchor = Tag === 'a'; const scrollIfNotInView = useCallback(() => { const { activeTabRect, offset } = dimensions; @@ -130,6 +131,7 @@ function TabList({ className.item, 'relative p-2 py-4 text-center font-bold typo-callout', isActive ? '' : 'text-text-tertiary', + isAnchor && 'cursor-pointer', )} onClick={() => onClick(tab)} type="button"