Skip to content

Commit

Permalink
chore(components): [tabs] optimize code (#11261)
Browse files Browse the repository at this point in the history
  • Loading branch information
RadiumAg committed Jan 12, 2023
1 parent 554dad9 commit 4019a83
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/components/tabs/src/tab-nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ const TabNav = defineComponent({
const currentOffset = navOffset.value

if (containerSize < navSize) {
const currentOffset = navOffset.value
scrollable.value = scrollable.value || {}
scrollable.value.prev = currentOffset
scrollable.value.next = currentOffset + containerSize < navSize
Expand Down

0 comments on commit 4019a83

Please sign in to comment.