Skip to content

Commit 1268ab7

Browse files
committed
feat: remove console log
1 parent 7e1da2e commit 1268ab7

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

examples/lit-ts/src/avatar.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ export class Avatar extends Component<avatar.Api> {
1919
static styles = unsafeCSS(style)
2020

2121
override render() {
22-
console.log("rendering", {
23-
getRootProps: this.api.getRootProps(),
24-
getFallbackProps: this.api.getFallbackProps(),
25-
getImageProps: this.api.getImageProps(),
26-
})
2722
return html`<div ${spread(this.api.getRootProps())} class="avatar">
2823
<span ${spread(this.api.getFallbackProps())} class="avatar-fallback">PA</span>
2924
<img

examples/lit-ts/src/checkbox.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@ export class Checkbox extends Component<checkbox.Api> {
2121
static styles = unsafeCSS(style)
2222

2323
override render() {
24-
console.log("rendering", {
25-
getRootProps: this.api.getRootProps(),
26-
getControlProps: this.api.getControlProps(),
27-
getLabelProps: this.api.getLabelProps(),
28-
getHiddenInputProps: this.api.getHiddenInputProps(),
29-
})
3024
return html`<label ${spread(this.api.getRootProps())} class="checkbox">
3125
<div ${spread(this.api.getControlProps())} class="checkbox-control"></div>
3226
<span ${spread(this.api.getLabelProps())} class="checkbox-label">Checkbox Label</span>

examples/lit-ts/src/component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export abstract class Component<Api> extends LitElement implements ComponentInte
2626

2727
this.machine.subscribe((service) => {
2828
this.api = this.initApi()
29-
console.log("request update", service)
3029
this.requestUpdate()
3130
})
3231
this.machine.start()

0 commit comments

Comments
 (0)