added some error handling
This commit is contained in:
parent
8b6f09cead
commit
c25700d7cd
4 changed files with 154 additions and 29 deletions
|
|
@ -4,6 +4,7 @@ import { StoreController } from "../controllers/store-controller.js";
|
|||
import "./nav-bar.js";
|
||||
import "./page-home.js";
|
||||
import "./page-items.js";
|
||||
import "./error-toast.js";
|
||||
|
||||
class AppRoot extends LitElement {
|
||||
#hydrated = new StoreController(this, store, s => s._hydrated);
|
||||
|
|
@ -31,6 +32,7 @@ class AppRoot extends LitElement {
|
|||
return html`
|
||||
<nav-bar .user=${this.#user.value}></nav-bar>
|
||||
<main>${this.#renderRoute()}</main>
|
||||
<error-toast></error-toast>
|
||||
`;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue