router: change order of arguments
fixup! freeze state & rename app ns to location
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user