Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit 2d5d308

Browse files
committed
Fixing typo in docs
1 parent ecf6936 commit 2d5d308

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guides/compare-redux-form.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,15 +190,15 @@ Source: [http://redux-form.com/6.0.2/examples/initializeFromState/](http://redux
190190
import { connect } from 'react-redux';
191191
import { actions } from 'react-redux-form';
192192

193-
// external data to load
193+
// external user data to load
194194
const data = { /* ... */ };
195195

196196
const InitializeFromStateForm = (props) => {
197197
const { dispatch } = this.props;
198198

199199
return (
200200
<form>
201-
<button type="button" onClick={() => dispatch(actions.load(data))}>
201+
<button type="button" onClick={() => dispatch(actions.load('user', data))}>
202202
Load Account
203203
</button>
204204
{/* ... */}

0 commit comments

Comments
 (0)