-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* context-refactor * Adding currentFilters, setCurrentFilters to context * refactored results props * removed setIsFilterOpenProp from results * removed console.logs * Refactoring Header.tsx and Header.test.tsx to use context hooks. * WIP: FAILING - refactoring handleFilterChange to context * Refactored handleFilterChange to be global in context, and created a helper function for applying changes. - Created new tests for applying filters - Fixed existing tests which used context * Adding handleClearFilters to context and using it in FilterBar Co-authored-by: David Q <[email protected]>
- Loading branch information
Showing
14 changed files
with
10,391 additions
and
10,628 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.