Skip to content

Commit f56ad60

Browse files
committed
fix: remove unused vars
1 parent 9d82fca commit f56ad60

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

app/components/Views/Homepage/components/HomepageDiscoveryTabs/HomepageDiscoveryTabs.tsx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@ import React, {
55
useImperativeHandle,
66
useRef,
77
} from 'react';
8-
import { Animated, StyleProp, StyleSheet, View, ViewStyle } from 'react-native';
8+
import {
9+
Animated,
10+
RefreshControlProps,
11+
StyleProp,
12+
StyleSheet,
13+
View,
14+
ViewStyle,
15+
} from 'react-native';
916
import Reanimated, {
1017
SharedValue,
1118
withTiming,
@@ -14,7 +21,6 @@ import Reanimated, {
1421
} from 'react-native-reanimated';
1522
import LinearGradient from 'react-native-linear-gradient';
1623
import TabsIconList from '../../../../../component-library/components-temp/Tabs/TabsIconList/TabsIconList';
17-
import { useTailwind } from '@metamask/design-system-twrnc-preset';
1824
import { TabsIconListRef } from '../../../../../component-library/components-temp/Tabs/TabsIconList/TabsIconList.types';
1925
import Homepage from '../../Homepage';
2026
import PerpsHomeView from '../../../../UI/Perps/Views/PerpsHomeView/PerpsHomeView';
@@ -148,9 +154,8 @@ const HomepageDiscoveryTabs = forwardRef<
148154
const tabsRef = useRef<TabsIconListRef>(null);
149155
const homepageRef = useRef<SectionRefreshHandle>(null);
150156
const perpsTabEnterRef = useRef<(() => void) | null>(null);
151-
const tw = useTailwind();
152157
const { styles } = useStyles(styleSheet, {});
153-
const { themeAppearance, colors } = useTheme();
158+
const { themeAppearance } = useTheme();
154159
const isDarkMode = themeAppearance === AppThemeKey.dark;
155160
// One Animated.Value per tab — pre-rendered at mount so no re-render is needed
156161
// during a tab switch. Portfolio starts fully visible; others start at 0.

0 commit comments

Comments
 (0)