Add comment

This commit is contained in:
Arthur Belleville 2025-07-19 18:57:05 +02:00
parent 59e896ee69
commit 0b3d382285
No known key found for this signature in database
2 changed files with 19 additions and 19 deletions

View file

@ -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

View file

@ -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 = () => (