Skip to content

Commit 9bf2375

Browse files
authored
Update Provider.md
1 parent fcd5ed8 commit 9bf2375

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/api/Provider.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ import { ReactReduxContext } from 'react-redux'
4040
render() {
4141
return (
4242
<ReactReduxContext.Consumer>
43-
{({ store }) => <div>{store}</div>}
43+
{({ store }) => {
44+
// do something with the store here
45+
}}
4446
</ReactReduxContext.Consumer>
4547
)
4648
}

0 commit comments

Comments
 (0)