Skip to content

Commit

Permalink
rm to top
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenLYZ committed Feb 22, 2022
1 parent b468168 commit 5768fce
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,13 @@ const FilterBar: React.FC<FiltersBarProps> = ({
if (previousFilters) {
const updates = {};
Object.values(filters).forEach(currentFilter => {
const currentType = currentFilter.filterType;
const currentTargets = currentFilter.targets;
const currentDataMask = currentFilter.defaultDataMask;
const previousFilter = previousFilters?.[currentFilter.id];
if (!previousFilter) {
return;
}
const currentType = currentFilter.filterType;
const currentTargets = currentFilter.targets;
const currentDataMask = currentFilter.defaultDataMask;
const previousType = previousFilter?.filterType;
const previousTargets = previousFilter?.targets;
const previousDataMask = previousFilter?.defaultDataMask;
Expand Down

0 comments on commit 5768fce

Please sign in to comment.