diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a5a27d9..dec20d4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: entry: just test-frontend language: python pass_filenames: false - files: \.ts* + files: ^ui/.*\.(ts|tsx|js|jsx)$ - id: typecheck name: Typecheck Frontend entry: just typecheck diff --git a/xtablo-expo/app/(home)/(tabs)/index.tsx b/xtablo-expo/app/(home)/(tabs)/index.tsx index 1db4bc6..9438df2 100644 --- a/xtablo-expo/app/(home)/(tabs)/index.tsx +++ b/xtablo-expo/app/(home)/(tabs)/index.tsx @@ -206,26 +206,26 @@ export default function HomeScreen() { // }, [isSearchVisible, searchQuery]); // Animated styles using react-native-reanimated - const animatedSearchStyle = useAnimatedStyle(() => { - const height = interpolate( - searchAnimation.value, - [0, 1], - [0, 80], - Extrapolate.CLAMP - ); + // const animatedSearchStyle = useAnimatedStyle(() => { + // const height = interpolate( + // searchAnimation.value, + // [0, 1], + // [0, 80], + // Extrapolate.CLAMP + // ); - const opacity = interpolate( - searchAnimation.value, - [0, 0.5, 1], - [0, 0, 1], - Extrapolate.CLAMP - ); + // const opacity = interpolate( + // searchAnimation.value, + // [0, 0.5, 1], + // [0, 0, 1], + // Extrapolate.CLAMP + // ); - return { - height, - opacity, - }; - }); + // return { + // height, + // opacity, + // }; + // }); // Simple search header component - no memoization // const SearchHeader = () => (