Skip to content

Commit

Permalink
changed variable name from value to isSelected in updateAll function …
Browse files Browse the repository at this point in the history
…in client/components/main/Desktop/TypeSelector/index.js
  • Loading branch information
edwinjue committed Aug 31, 2022
1 parent 658bd3f commit 482bbe3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/components/main/Desktop/TypeSelector/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ const RequestTypeSelector = ({
return !isToggled;
};

function updateAll(value) {
function updateAll(isSelected) {
requestTypes.forEach(type => {
if (selectedTypes[type.typeId] !== value) {
if (selectedTypes[type.typeId] !== isSelected) {
updateTypesFilter(type.typeId);
}
});
Expand Down

0 comments on commit 482bbe3

Please sign in to comment.