mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +01:00
sort fix
This commit is contained in:
parent
6eaf2efd95
commit
8d07414db1
@ -46,8 +46,6 @@ export default function Sort({
|
|||||||
if (sortBy === SortTermOptions.Liquidity) {
|
if (sortBy === SortTermOptions.Liquidity) {
|
||||||
urlLocation = `${urlLocation}&priceType=${FilterByPriceOptions.Dynamic}`
|
urlLocation = `${urlLocation}&priceType=${FilterByPriceOptions.Dynamic}`
|
||||||
setPriceType(FilterByPriceOptions.Dynamic)
|
setPriceType(FilterByPriceOptions.Dynamic)
|
||||||
} else {
|
|
||||||
setPriceType(undefined)
|
|
||||||
}
|
}
|
||||||
setSortType(sortBy)
|
setSortType(sortBy)
|
||||||
} else if (direction) {
|
} else if (direction) {
|
||||||
|
Loading…
Reference in New Issue
Block a user