Skip to content

Commit 96bcd6e

Browse files
authored
Merge pull request #7 from lumihq/tippenein/readme-example-update
small example update
2 parents 242f827 + 07edbd9 commit 96bcd6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ type ExampleState =
4141
-- state update callback, and produces a document.
4242
example :: R.ReactComponent ExampleProps
4343
example = R.react
44-
{ initialState: { counter: 0 }
44+
{ initialState: \_ -> { counter: 0 }
4545
, render: \{ label } { counter } setState ->
4646
R.button { onClick: mkEffFn1 \_ -> do
4747
setState { counter: counter + 1 }

0 commit comments

Comments
 (0)