Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use createSelector to avoid redux selector warning (#733)
Rewrite selectDepthDependentData to use createSelector rather than chaining selectors inline. The selectDepthDependentData selector was causing a warning because of its internal use of selectSoilData. Redux recommends using the createSelector wrapper when chaining selectors together to avoid unnecessary re-renders.
- Loading branch information