mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
prettier
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user