mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-11-11 15:51:10 +00:00
fixed types
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import { controller } from "@github/catalyst";
|
||||
import { closest, update } from "core/utils";
|
||||
import { html, render } from "@github/jtml";
|
||||
import { AppMainElement } from "components/";
|
||||
import { html, TemplateResult } from "@github/jtml";
|
||||
import { BasePageElement } from "common/";
|
||||
|
||||
@controller
|
||||
@@ -9,14 +7,16 @@ class NotFoundElement extends BasePageElement {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
elementConnected = () => {
|
||||
elementConnected = (): void => {
|
||||
this.update();
|
||||
};
|
||||
|
||||
render = () => {
|
||||
render = (): TemplateResult => {
|
||||
return html`
|
||||
<div>404 - Page not found</div>
|
||||
<div><app-link data-to="/" data-title="Homepage"></app-link></div>
|
||||
`;
|
||||
};
|
||||
}
|
||||
|
||||
export type { NotFoundElement };
|
||||
|
||||
Reference in New Issue
Block a user