-
-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Move remaining computed props into grapherstate. This fixes a few b…
…ugs. The main channel through which this led to undesired behavior is that we used to pass the full Grapher as manager into components like the Footer; we now only pass the GrapherState. But because the interfaces that outline managers (like that of the footer) often use optional properties, the type system didn't flag that some of the computed properties were missing now on GrapherState. This commit moves the remaining computed state props onto GrapherState.
- Loading branch information
Showing
3 changed files
with
65 additions
and
76 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