Skip to content

Commit

Permalink
remove duplicate condition
Browse files Browse the repository at this point in the history
  • Loading branch information
chad1008 committed Dec 1, 2023
1 parent d1f06d4 commit d3cb57b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/components/src/tabs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ function Tabs( {

if (
tabsHasFocus &&
tabsRef.current?.ownerDocument.activeElement !== null &&
selectedId !== tabsRef.current?.ownerDocument.activeElement.id
) {
move( selectedId );
Expand Down

0 comments on commit d3cb57b

Please sign in to comment.