mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-11-11 15:51:10 +00:00
closed shadowRoot and changed pages, components, layout to extend base class
This commit is contained in:
@@ -2,10 +2,10 @@ import { controller } from "@github/catalyst";
|
||||
import { closest, update } from "core/utils";
|
||||
import { html, render } from "@github/jtml";
|
||||
import { AppMainElement } from "components/";
|
||||
import { BasePageElement } from "common/";
|
||||
|
||||
@controller
|
||||
class NotFoundElement extends HTMLElement {
|
||||
@closest appMain: AppMainElement;
|
||||
class NotFoundElement extends BasePageElement {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
@@ -19,8 +19,4 @@ class NotFoundElement extends HTMLElement {
|
||||
<div><app-link data-to="/" data-title="Homepage"></app-link></div>
|
||||
`;
|
||||
};
|
||||
|
||||
update = () => {
|
||||
render(this.render(), this);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user