Skip to content

Commit 9e7f205

Browse files
author
Michael Trotter
committed
Remove unused state in counter example
1 parent 546ed40 commit 9e7f205

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/counter/src/Counter.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ data Action
1919
counter :: Props -> JSX
2020
counter = make component { initialState, update, render }
2121
where
22-
initialState = { counter: 0, dummy: 0 }
22+
initialState = { counter: 0 }
2323

2424
update self = case _ of
2525
Increment ->

0 commit comments

Comments
 (0)