router: change order of arguments

fixup! freeze state & rename app ns to location
This commit is contained in:
Yoshua Wuyts
2016-07-02 22:54:35 +02:00
parent c679e37d3a
commit 6407188ee9
15 changed files with 85 additions and 50 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ app.model({
}
})
const mainView = (params, state, send) => {
const mainView = (state, prev, send) => {
return html`
<main class="app">
<h1>${state.input.title}</h1>