Skip to content

Commit 8015381

Browse files
christianalfonigitbook-bot
authored andcommitted
GitBook: [master] one page modified
1 parent cc68f04 commit 8015381

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

get-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ export default connect(Title)
129129
import React from 'react'
130130
import { connect, Connect } from '../app'
131131

132-
const Title: React.SFC<Connect> = ({ appState, actions }) =>
132+
const Title: React.SFC<Connect> = ({ app }) =>
133133
<div>
134-
<h1>{appState.title}</h1>
135-
<input value={appState.title} onChange={actions.changeTitle} />
134+
<h1>{app.state.title}</h1>
135+
<input value={app.state.title} onChange={actions.changeTitle} />
136136
</div>
137137

138138
export default connect(Title)

0 commit comments

Comments
 (0)