diff options
author | Ivan Chen <ivan@tagg.id> | 2021-04-09 13:27:45 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-04-09 13:27:45 -0400 |
commit | c54a25dc05eeb70780bc3a3ec05cb8cbed3f334b (patch) | |
tree | 9c5eba5cbdf0d8989022e723613795560374256b /src/screens/chat/ChatSearchBar.tsx | |
parent | 0ebd64161da70d5d417886d7026ec8e0f4691db3 (diff) |
code cleanup
Diffstat (limited to 'src/screens/chat/ChatSearchBar.tsx')
-rw-r--r-- | src/screens/chat/ChatSearchBar.tsx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/screens/chat/ChatSearchBar.tsx b/src/screens/chat/ChatSearchBar.tsx index 294efa57..4916ec45 100644 --- a/src/screens/chat/ChatSearchBar.tsx +++ b/src/screens/chat/ChatSearchBar.tsx @@ -1,4 +1,4 @@ -import React, {useEffect, useState} from 'react'; +import React from 'react'; import { Keyboard, NativeSyntheticEvent, @@ -10,16 +10,9 @@ import { TouchableOpacity, View, ViewStyle, - LayoutChangeEvent, } from 'react-native'; import {normalize} from 'react-native-elements'; import Animated, {useAnimatedStyle} from 'react-native-reanimated'; -import Icon from 'react-native-vector-icons/Feather'; -import {useSelector} from 'react-redux'; -import {RootState} from '../../store/rootReducer'; -import {getSearchSuggestions} from '../../utils'; - -const AnimatedIcon = Animated.createAnimatedComponent(Icon); interface SearchBarProps extends TextInputProps { onCancel: () => void; |