This commit is contained in:
konnorrogers
2024-12-19 14:07:17 -05:00
parent cf75b7ac25
commit 76ac0a8eaa

View File

@@ -77,9 +77,9 @@ export default class WaCodeDemo extends WebAwesomeElement {
private readonly hasSlotController = new HasSlotController(this, 'preview');
firstUpdated () {
firstUpdated() {
// This works around a bug where if you have no slotted preview, initial previews will not load.
this.requestUpdate()
this.requestUpdate();
}
render() {