Skip to content

Commit 373cf5d

Browse files
committed
use correct property in testing example
1 parent 4aac756 commit 373cf5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/docs/08-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default Store({
7474
*/
7575
function loadProjects(state, payload) {
7676
return state.withMutations(state => {
77-
payload.forEach(function(project) {
77+
payload.data.forEach(function(project) {
7878
state.set(project.id, project)
7979
})
8080
})

0 commit comments

Comments
 (0)