mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-17 00:13:17 +00:00
Move super call
This commit is contained in:
@@ -69,6 +69,8 @@ export class AppElement extends LitElement {
|
||||
|
||||
// TODO
|
||||
override async connectedCallback(): Promise<void> {
|
||||
super.connectedCallback();
|
||||
|
||||
try {
|
||||
const session = await this.api.session();
|
||||
console.log("session:", session);
|
||||
@@ -94,8 +96,6 @@ export class AppElement extends LitElement {
|
||||
catch (err) {
|
||||
console.error(err);
|
||||
}
|
||||
|
||||
super.connectedCallback();
|
||||
}
|
||||
|
||||
@on("scene-saved")
|
||||
|
||||
Reference in New Issue
Block a user