example-mailbox: v6
This commit is contained in:
@@ -4,14 +4,12 @@ const empty = require('../elements/empty-mailbox')
|
||||
const pathname = require('../elements/pathname')
|
||||
const nav = require('../elements/nav')
|
||||
|
||||
module.exports = function () {
|
||||
return function (params, state, send) {
|
||||
return choo.view`
|
||||
<main class="mw5 mw7-ns center cf">
|
||||
${pathname(params, state, send)}
|
||||
${nav(params, state, send)}
|
||||
${empty(params, state, send)}
|
||||
</main>
|
||||
`
|
||||
}
|
||||
module.exports = function (params, state, send) {
|
||||
return choo.view`
|
||||
<main class="mw5 mw7-ns center cf">
|
||||
${pathname(params, state, send)}
|
||||
${nav(params, state, send)}
|
||||
${empty(params, state, send)}
|
||||
</main>
|
||||
`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user