From d41fff9b04a7f734c5340efeb2ebb476fb867a97 Mon Sep 17 00:00:00 2001 From: Danny McGee Date: Fri, 22 Mar 2024 17:44:26 -0400 Subject: [PATCH] Comment-out "Unknown component" block in inspector --- .../src/lib/inspector/entity-inspector.element.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/studio-web/src/lib/inspector/entity-inspector.element.ts b/studio-web/src/lib/inspector/entity-inspector.element.ts index a8a5fa6..0c89348 100644 --- a/studio-web/src/lib/inspector/entity-inspector.element.ts +++ b/studio-web/src/lib/inspector/entity-inspector.element.ts @@ -1,5 +1,5 @@ import { inject } from "@storyteller/framework"; -import { LitElement, type PropertyValues, html, unsafeCSS } from "lit"; +import { LitElement, type PropertyValues, html, unsafeCSS, nothing } from "lit"; import { customElement } from "lit/decorators.js"; import { SCENE_DATA_PROVIDER, type SceneDataProvider } from "../scene-data-provider.element"; @@ -81,10 +81,11 @@ export class EntityInspectorElement extends LitElement { `; } default: { - return html` -

Unknown Component: ${name}

-
${JSON.stringify({ name, value }, null, "   ")}
- `; + return nothing; + // return html` + //

Unknown Component: ${name}

+ //
${JSON.stringify({ name, value }, null, "   ")}
+ // `; } } })