Comment-out "Unknown component" block in inspector

This commit is contained in:
Danny McGee
2024-03-22 17:44:26 -04:00
parent 04d72a6650
commit d41fff9b04
@@ -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`
<h3>Unknown Component: ${name}</h3>
<pre>${JSON.stringify({ name, value }, null, " ")}</pre>
`;
return nothing;
// return html`
// <h3>Unknown Component: ${name}</h3>
// <pre>${JSON.stringify({ name, value }, null, " ")}</pre>
// `;
}
}
})