Skip to content

Commit

Permalink
Small fix for search results filter button (#8752)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Shanks authored Jun 6, 2024
1 parent 3b45588 commit 5416b35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/web/src/pages/search-page-v2/SearchResults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
SearchKind,
searchResultsPageTracksLineupActions
} from '@audius/common/store'
import { FilterButton } from '@audius/harmony'
import { OptionsFilterButton } from '@audius/harmony'
import { Box, Flex } from '@audius/harmony/src/components/layout'
import { Text } from '@audius/harmony/src/components/text'
import { css } from '@emotion/css'
Expand Down Expand Up @@ -181,10 +181,10 @@ export const SearchResults = ({ query }: SearchResultsProps) => {
{messages.tracks}
</Text>
{isCategoryActive(Category.TRACKS) ? (
<FilterButton
<OptionsFilterButton
selection={tracksLayout}
variant='replaceLabel'
onSelect={(value) => {
onChange={(value) => {
setTracksLayout(value as TrackView)
}}
options={[
Expand Down

0 comments on commit 5416b35

Please sign in to comment.