Skip to content

Commit

Permalink
chore: remove logs
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
  • Loading branch information
dbluhm committed Nov 8, 2023
1 parent 1d9ba83 commit 8225a4d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions src/pages/profile/compose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,15 @@ export default class ComposeComponent implements m.ClassComponent {
}

oncreate(vnode: m.VnodeDOM<{}, this>) {
console.log("LOGGING SAMPLES", SAMPLES["Trust Ping"])
this.content = JSON.stringify(SAMPLES["Trust Ping"], null, 2)
}

onSampleSelected(e: Event) {
console.log((e.target as HTMLSelectElement).value)
this.content = JSON.stringify(
SAMPLES[(e.target as HTMLSelectElement).value],
null,
2
)
console.log(this.content)
m.redraw()
}

Expand Down
4 changes: 1 addition & 3 deletions src/pages/profile/jsoneditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ export default class JSONEditor
return m("lit-code", {
language: "json",
linenumbers: true,
onupdate: (e: any) => {
console.log("onupdate", e)
},
onupdate: (e: any) => {},
})
}
}

0 comments on commit 8225a4d

Please sign in to comment.