diff --git a/packages/web/src/pages/search-page/components/mobile/SearchPageContent.tsx b/packages/web/src/pages/search-page/components/mobile/SearchPageContent.tsx index 8b32c6d3520..398bce594c8 100644 --- a/packages/web/src/pages/search-page/components/mobile/SearchPageContent.tsx +++ b/packages/web/src/pages/search-page/components/mobile/SearchPageContent.tsx @@ -179,9 +179,7 @@ const TracksSearchPage = ({ }) ) } - playTrack={(uid: UID) => - dispatch(tracksActions.play(uid)) - } + playTrack={(uid: UID) => dispatch(tracksActions.play(uid))} pauseTrack={() => dispatch(tracksActions.pause())} actions={tracksActions} /> @@ -242,7 +240,7 @@ const CardSearchPage = ({ id: user.user_id, userId: user.user_id, route: profilePage(user.handle), - primaryText: 'hi', + primaryText: user.name, secondaryText: followers, imageSize: user._profile_picture_sizes } @@ -277,9 +275,7 @@ const CardSearchPage = ({ imageSize={imageSize} primaryText={primaryText} secondaryText={secondaryText} - onClick={() => { - goToRoute(route) - }} + onClick={() => goToRoute(route)} className='' /> ) @@ -299,7 +295,7 @@ const CardSearchPage = ({ } const messages = { - title: 'More Resultsss', + title: 'More Results', tagSearchTitle: 'Tag Search', tracksTitle: 'Tracks', albumsTitle: 'Albums', @@ -348,71 +344,71 @@ const SearchPageContent = (props: SearchPageContentProps) => { const computedTabs = useMemo(() => { return isTagSearch ? { - didChangeTabsFrom, - tabs: [ - { - icon: , - text: messages.tracksTitle, - label: Tabs.TRACKS - }, - { - icon: , - text: messages.peopleTitle, - label: Tabs.PEOPLE - } - ], - elements: [ - , - - ] - } + didChangeTabsFrom, + tabs: [ + { + icon: , + text: messages.tracksTitle, + label: Tabs.TRACKS + }, + { + icon: , + text: messages.peopleTitle, + label: Tabs.PEOPLE + } + ], + elements: [ + , + + ] + } : { - didChangeTabsFrom, - tabs: [ - { - icon: , - text: messages.peopleTitle, - label: Tabs.PEOPLE - }, - { - icon: , - text: messages.tracksTitle, - label: Tabs.TRACKS - }, - { - icon: , - text: messages.albumsTitle, - label: Tabs.ALBUMS - }, - { - icon: , - text: messages.playlistsTitle, - label: Tabs.PLAYLISTS - } - ], - elements: [ - , - , - , - - ] - } + didChangeTabsFrom, + tabs: [ + { + icon: , + text: messages.peopleTitle, + label: Tabs.PEOPLE + }, + { + icon: , + text: messages.tracksTitle, + label: Tabs.TRACKS + }, + { + icon: , + text: messages.albumsTitle, + label: Tabs.ALBUMS + }, + { + icon: , + text: messages.playlistsTitle, + label: Tabs.PLAYLISTS + } + ], + elements: [ + , + , + , + + ] + } }, [isTagSearch, props, didChangeTabsFrom]) const { tabs, body } = useTabs(computedTabs)