Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aamir1995 committed Oct 3, 2023
1 parent d9780a9 commit 6a85d6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demo-snippets/hosts/objectGroups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class ObjectGroupsDemoHost extends BaseDemoHost implements IDemoHost<Modu
// Destructure relevant properties into variables
const { url } = this.sceneData;
// load the scene using URL gotten from `sceneData`
this.loadScene(url);
await this.loadScene(url);
} catch (error) {
moduleError = error;
} finally {
Expand Down
2 changes: 1 addition & 1 deletion demo-snippets/hosts/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class SearchDemoHost extends BaseDemoHost implements IDemoHost<Module> {
// Destructure relevant properties into variables
const { url } = this.sceneData;
// load the scene using URL gotten from `sceneData`
this.loadScene(url);
await this.loadScene(url);
} catch (error) {
moduleError = error;
} finally {
Expand Down

0 comments on commit 6a85d6a

Please sign in to comment.