w3b3d3v / web3-bootcamp-platform

web3-bootcamp-platform.vercel.app
MIT License
52 stars 24 forks source link

Fix the Amount filter when the Reward field is deselected #247

Open Guboehm opened 2 months ago

Guboehm commented 2 months ago

Issue Type

Bug

Custom Code

Yes

OS Platform and Distribution

No response

Mobile device

No response

Node Version

No response

What happened?

The Amount filter is not operate correctly when the Reward field is deselected

image

Code to reproduce the issue

if (filterName === 'Reward') {
  updatedFilters['Amount'] = null
  updateUrlWithFilters(updatedFilters)
}

Relevant log output

No response