1
0
mirror of https://github.com/tooot-app/app synced 2025-02-28 09:37:43 +01:00
This commit is contained in:
xmflsct 2022-12-29 23:38:44 +01:00
parent 14b23ac480
commit ca7309b862
2 changed files with 1 additions and 8 deletions

View File

@ -53,7 +53,6 @@ const TabMeFollowedTags: React.FC<TabMeStackScreenProps<'Tab-Me-FollowedTags'>>
renderItem={({ item }) => (
<ComponentHashtag
hashtag={item}
onPress={() => {}}
children={
<Button
type='text'

View File

@ -91,13 +91,7 @@ const SearchEmpty: React.FC<Props> = ({ isFetching, inputRef, setSearchTerm }) =
return (
<React.Fragment key={index}>
{index !== 0 ? <ComponentSeparator /> : null}
<ComponentHashtag
hashtag={hashtag}
onPress={() => {
inputRef.current?.setNativeProps({ text: `#${hashtag.name}` })
setSearchTerm(`#${hashtag.name}`)
}}
/>
<ComponentHashtag hashtag={hashtag} />
</React.Fragment>
)
})}