-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix(with-select): Rename parameter from
mapStateToProps
to `mapSele…
…ctToProps`. (#10116) * Fix: with-select: Rename parameter to `mapSelectToProps`. State isn't available here and the current parameter name is confusing with Redux's parameter. Moreover, in the guide it says `mapSelectToProps` -> https://github.com/WordPress/gutenberg/blob/master/packages/data/README.md#withselect-mapselecttoprops-function--function * Data: Rename test instances of mapStateToProps
- Loading branch information
Showing
2 changed files
with
13 additions
and
13 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