We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7054afd commit aee1b4cCopy full SHA for aee1b4c
meiosis-mithril-ts/src/app/main.ts
@@ -42,7 +42,7 @@ const createApp = (update: UpdateStream): MeiosisApp => {
42
model: () => ({ counter: 0 }),
43
view: (model: AppModel) =>
44
m('div', [
45
- m('p', { onclick: () => actions.inc(1) }, model.counter),
+ m('p', model.counter),
46
m('button', { onclick: () => actions.inc(1) }, 'plus'),
47
m('button', { onclick: () => actions.inc(-1) }, 'minus')
48
]),
0 commit comments