Skip to content

Commit aee1b4c

Browse files
committed
Remove unnecessary action
1 parent 7054afd commit aee1b4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meiosis-mithril-ts/src/app/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const createApp = (update: UpdateStream): MeiosisApp => {
4242
model: () => ({ counter: 0 }),
4343
view: (model: AppModel) =>
4444
m('div', [
45-
m('p', { onclick: () => actions.inc(1) }, model.counter),
45+
m('p', model.counter),
4646
m('button', { onclick: () => actions.inc(1) }, 'plus'),
4747
m('button', { onclick: () => actions.inc(-1) }, 'minus')
4848
]),

0 commit comments

Comments
 (0)