Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbaroni committed Nov 24, 2024
1 parent 33a87cc commit 9bc27d9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/DappBrowser/hooks/useAnimatedTab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ export function useAnimatedTab({ tabId }: { tabId: string }) {
const isLeftOfActiveTab = tabIndex === pendingActiveIndex - 1;
const isRightOfActiveTab = tabIndex === pendingActiveIndex + 1;

// const shouldUseTabViewGestureStyles = isSwitchingTabs.value && (animatedIsActiveTab || !isRunningEnterTabViewAnimation);
const shouldUseTabSwitchGestureStyles =
isSwitchingTabs.value && (isPendingActiveTab || (!isRunningEnterTabViewAnimation && (isLeftOfActiveTab || isRightOfActiveTab)));

Expand Down

0 comments on commit 9bc27d9

Please sign in to comment.