aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-04-26 17:46:06 -0400
committerIvan Chen <ivan@tagg.id>2021-04-26 17:46:06 -0400
commitb6134c042658994421163ceda21731505098e2ac (patch)
tree9300255cd22a7afa6f10693e938327904bfabac5
parent604dc249185b40ab60c8c44a83e97e30194f9087 (diff)
linted
-rw-r--r--src/components/search/SearchBar.tsx2
-rw-r--r--src/screens/chat/ChatSearchBar.tsx3
-rw-r--r--src/screens/chat/NewChatModal.tsx1
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,