This repository has been archived by the owner on Dec 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The values this function was used for seemed like they can only be arrays or objects to me. We will only want to empty out "breadth-first", so empty objects will stay in the output if they became empty because of the function itself. isEmpty here is removed in #2442, and still works the same (but will need a rebase) The newly added tests also pass with the previous implementation The function is only used in `onSearchStateChange` as a response to a `cleanUp` (caused by unmount) on a widget IFW-743
- Loading branch information
Showing
2 changed files
with
32 additions
and
7 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