14 lines
196 B
JavaScript
14 lines
196 B
JavaScript
|
const m = require('mithril')
|
||
|
|
||
|
const NotFound = {
|
||
|
oninit: function(vnode) {
|
||
|
this.error = ''
|
||
|
},
|
||
|
|
||
|
view: function(vnode) {
|
||
|
return m('div', 'Not found')
|
||
|
},
|
||
|
}
|
||
|
|
||
|
module.exports = NotFound
|