Open sumiat opened 2 months ago
https://github.com/HHS/simpler-grants-gov/issues/1498
Started a class in #1491 SearchFilterManager that should keep track of the total checked count, the checked count in each section
SearchFilterManager
maybe rename it to useSearchFilterAccordion to be more accurate
useSearchFilterAccordion
Should the class be in the same file as the custom hook?
useSearchFilter
FYI @rylew1 I think a lot or all useSearchFilter might be able to go away with #101 because we don't need to keep track of the state of the selected items.
Summary
https://github.com/HHS/simpler-grants-gov/issues/1498
Started a class in #1491
SearchFilterManager
that should keep track of the total checked count, the checked count in each sectionmaybe rename it to
useSearchFilterAccordion
to be more accurateShould the class be in the same file as the custom hook?
Acceptance criteria
useSearchFilter
is more organized