Remove log statements

This commit is contained in:
Andrew Kingston 2022-02-01 11:55:31 +00:00
parent 21a771ff70
commit 27c2b62223
2 changed files with 1 additions and 4 deletions

View File

@ -9,7 +9,7 @@
<script>
import { getContext, setContext } from "svelte"
import { writable, get } from "svelte/store"
import { writable } from "svelte/store"
import * as AppComponents from "components/app"
import Router from "./Router.svelte"
import { enrichProps, propsAreSame } from "utils/componentProps"
@ -250,7 +250,6 @@
} else if (typeof value === "string" && value.includes("{{")) {
delete newStaticSettings[setting.key]
} else if (value[0]?.["##eventHandlerType"] != null) {
console.log(value)
// Always treat button actions as dynamic
delete newStaticSettings[setting.key]
} else if (typeof value === "object") {

View File

@ -283,7 +283,6 @@ export const enrichButtonActions = (actions, context) => {
const handlers = actions.map(def => handlerMap[def["##eventHandlerType"]])
return async () => {
for (let i = 0; i < handlers.length; i++) {
let start = Date.now()
try {
// Skip any non-existent action definitions
if (!handlers[i]) {
@ -345,7 +344,6 @@ export const enrichButtonActions = (actions, context) => {
// Stop executing further actions on error
return
}
console.log("action", i, "took", Date.now() - start, "ms")
}
}
}