@@ -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' ;
916import Reanimated , {
1017 SharedValue ,
1118 withTiming ,
@@ -14,7 +21,6 @@ import Reanimated, {
1421} from 'react-native-reanimated' ;
1522import LinearGradient from 'react-native-linear-gradient' ;
1623import TabsIconList from '../../../../../component-library/components-temp/Tabs/TabsIconList/TabsIconList' ;
17- import { useTailwind } from '@metamask/design-system-twrnc-preset' ;
1824import { TabsIconListRef } from '../../../../../component-library/components-temp/Tabs/TabsIconList/TabsIconList.types' ;
1925import Homepage from '../../Homepage' ;
2026import 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