mirror of
https://github.com/vercel/commerce.git
synced 2025-06-18 05:01:22 +00:00
Use Filter icon instead of "Filter & Sort" text
This commit is contained in:
parent
92c8efc851
commit
c5ec6c0085
@ -10,6 +10,7 @@ import useSearch from '@bigcommerce/storefront-data-hooks/products/use-search'
|
|||||||
import { Layout } from '@components/common'
|
import { Layout } from '@components/common'
|
||||||
import { ProductCard } from '@components/product'
|
import { ProductCard } from '@components/product'
|
||||||
import { Container, Grid, Skeleton } from '@components/ui'
|
import { Container, Grid, Skeleton } from '@components/ui'
|
||||||
|
import { Filter } from '@components/icons'
|
||||||
|
|
||||||
import rangeMap from '@lib/range-map'
|
import rangeMap from '@lib/range-map'
|
||||||
import getSlug from '@lib/get-slug'
|
import getSlug from '@lib/get-slug'
|
||||||
@ -206,7 +207,7 @@ export default function Search({
|
|||||||
className="md:invisible text-accents-8 outline-none"
|
className="md:invisible text-accents-8 outline-none"
|
||||||
onClick={() => setShowMobileMenu(prev => !prev)}
|
onClick={() => setShowMobileMenu(prev => !prev)}
|
||||||
>
|
>
|
||||||
Filter & Sort
|
<Filter width={22} />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user