Skip to content

Commit

Permalink
fix: inconsistency with the select all functionality in problem capa …
Browse files Browse the repository at this point in the history
…type filter (#1294)
  • Loading branch information
ChrisChV authored Sep 18, 2024
1 parent fc4b700 commit 053a9b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/search-manager/FilterByBlockType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const ProblemFilterItem = ({ count, handleCheckboxChange } : ProblemFilterItemPr

const handleCheckBoxChangeOnProblem = React.useCallback((e) => {
handleCheckboxChange(e);
setIsProblemIndeterminate(false);
if (e.target.checked) {
setProblemTypesFilter(Object.keys(problemTypes));
} else {
Expand Down

0 comments on commit 053a9b1

Please sign in to comment.