diff --git a/src/components/search/Sort/Sort.tsx b/src/components/search/Sort/Sort.tsx index 9c228fbbf..24ff7dfe8 100644 --- a/src/components/search/Sort/Sort.tsx +++ b/src/components/search/Sort/Sort.tsx @@ -1,9 +1,6 @@ import { useSearch } from '@faststore/sdk' import React from 'react' -import { Select as UISelect } from '@faststore/ui' -import { CaretDown as CaretDownIcon } from 'phosphor-react' - -import './sort.scss' +import Select from 'src/components/ui/Select' const OptionsMap = { price_desc: 'Price, descending', @@ -25,23 +22,15 @@ function Sort() { } = useSearch() return ( -
- - setSort(keys[e.target.selectedIndex])} - value={sort} - aria-label="Product Sort" - id="select-sort" - > - {keys.map((key) => ( - - ))} - - -
+