From d9c49fa073fdbe4e5dd23090c46cdf6f33003a78 Mon Sep 17 00:00:00 2001 From: Duncan L Date: Tue, 1 Oct 2019 18:17:28 -0700 Subject: [PATCH] Docs: Fixes code example for API connect (#1413) --- docs/api/connect.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/connect.md b/docs/api/connect.md index 4ad61e58c..73cffc26d 100644 --- a/docs/api/connect.md +++ b/docs/api/connect.md @@ -581,7 +581,7 @@ function mapStateToProps(state) { const mapStateToProps = (state, ownProps = {}) => { console.log(state) // state - console.log(ownProps) // {} + console.log(ownProps) // undefined } ```