Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
Corrected reset filters function on orders views
Browse files Browse the repository at this point in the history
  • Loading branch information
xseignard committed Jan 6, 2020
1 parent b2cd1ae commit 034baa1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/aragon-fundraising/app/src/screens/Orders.js
Expand Up @@ -265,9 +265,9 @@ export default ({ myOrders }) => {
}

const handleClearFilters = () => {
setTypeFilter({ active: 0, ...typeFilter })
setSymbolFilter({ active: 0, ...symbolFilter })
setUserFilter({ active: 0, ...userFilter })
setTypeFilter({ ...typeFilter, active: 0 })
setSymbolFilter({ ...symbolFilter, active: 0 })
setUserFilter({ ...userFilter, active: 0 })
setDateFilter(initialDateFilterState)
}

Expand Down

0 comments on commit 034baa1

Please sign in to comment.