From 7f9441a97f4f4a271dbd11e4766e3d69f174f459 Mon Sep 17 00:00:00 2001 From: Seth Vincent Date: Mon, 13 Jun 2016 11:01:55 -0700 Subject: [PATCH] small typo fix: model -> state --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f43d520..eda09f8 100644 --- a/README.md +++ b/README.md @@ -243,7 +243,7 @@ Outside the model they're called by `send('todos:add')` and const app = choo() app.model({ namespace: 'todos', - model: { todos: [] }, + state: { todos: [] }, reducers: { add: (state, action) => ({ todos: state.todos.concat(action.payload) }) }