12 lines
303 B
TypeScript
12 lines
303 B
TypeScript
import { ClosureComponent, Component } from "mithril";
|
|
import { m } from "./components.ts";
|
|
|
|
export const component: ClosureComponent = (): Component => {
|
|
return {
|
|
view: function (vnode) {
|
|
document.title = "Error! - GenieACS";
|
|
return m("p.error", vnode.attrs["error"]);
|
|
},
|
|
};
|
|
};
|