summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwoxtu <woxtup@gmail.com>2023-12-31 07:51:58 +0900
committerGitHub <noreply@github.com>2023-12-31 07:51:58 +0900
commitc0466d1585d37a32537e545ee9df3b990da44e85 (patch)
tree4fbcc511845fe0a663b421000b027aaf27862943
parentFix a typo (#12853) (diff)
downloadsharkey-c0466d1585d37a32537e545ee9df3b990da44e85.tar.gz
sharkey-c0466d1585d37a32537e545ee9df3b990da44e85.tar.bz2
sharkey-c0466d1585d37a32537e545ee9df3b990da44e85.zip
Convert symbols to strings explicitly (#12844)
-rw-r--r--packages/frontend/src/pizzax.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/pizzax.ts b/packages/frontend/src/pizzax.ts
index b2254a0611..d26899dbde 100644
--- a/packages/frontend/src/pizzax.ts
+++ b/packages/frontend/src/pizzax.ts
@@ -168,7 +168,7 @@ export class Storage<T extends StateDef> {
this.reactiveState[key].value = this.state[key] = rawValue;
return this.addIdbSetJob(async () => {
- if (_DEV_) console.log(`set ${key} start`);
+ if (_DEV_) console.log(`set ${String(key)} start`);
switch (this.def[key].where) {
case 'device': {
this.pizzaxChannel.postMessage({
@@ -207,7 +207,7 @@ export class Storage<T extends StateDef> {
break;
}
}
- if (_DEV_) console.log(`set ${key} complete`);
+ if (_DEV_) console.log(`set ${String(key)} complete`);
});
}