diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/components/search/SearchBar.tsx | 2 | ||||
-rw-r--r-- | src/screens/chat/ChatSearchBar.tsx | 3 | ||||
-rw-r--r-- | src/screens/chat/NewChatModal.tsx | 1 |
3 files changed, 2 insertions, 4 deletions
diff --git a/src/components/search/SearchBar.tsx b/src/components/search/SearchBar.tsx index d441b07b..ea36d58b 100644 --- a/src/components/search/SearchBar.tsx +++ b/src/components/search/SearchBar.tsx @@ -128,7 +128,7 @@ const SearchBar: React.FC<SearchBarProps> = ({ style={styles.searchIcon} /> <TextInput - style={[styles.input]} + style={styles.input} placeholderTextColor={'#828282'} onSubmitEditing={handleSubmit} clearButtonMode="always" diff --git a/src/screens/chat/ChatSearchBar.tsx b/src/screens/chat/ChatSearchBar.tsx index 1faf6dc0..3531111b 100644 --- a/src/screens/chat/ChatSearchBar.tsx +++ b/src/screens/chat/ChatSearchBar.tsx @@ -9,10 +9,9 @@ import { TextInputSubmitEditingEventData, TouchableOpacity, View, - ViewStyle, } from 'react-native'; import {normalize} from 'react-native-elements'; -import Animated, {useAnimatedStyle} from 'react-native-reanimated'; +import Animated from 'react-native-reanimated'; interface SearchBarProps extends TextInputProps { onCancel: () => void; diff --git a/src/screens/chat/NewChatModal.tsx b/src/screens/chat/NewChatModal.tsx index 3d9a1d70..0b0661f9 100644 --- a/src/screens/chat/NewChatModal.tsx +++ b/src/screens/chat/NewChatModal.tsx @@ -7,7 +7,6 @@ import { Text, View, } from 'react-native'; -import {useSharedValue} from 'react-native-reanimated'; import {BottomDrawer} from '../../components'; import { SEARCH_ENDPOINT_MESSAGES, |