diff options
| author | woxtu <woxtup@gmail.com> | 2023-12-31 07:51:58 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-31 07:51:58 +0900 |
| commit | c0466d1585d37a32537e545ee9df3b990da44e85 (patch) | |
| tree | 4fbcc511845fe0a663b421000b027aaf27862943 | |
| parent | Fix a typo (#12853) (diff) | |
| download | sharkey-c0466d1585d37a32537e545ee9df3b990da44e85.tar.gz sharkey-c0466d1585d37a32537e545ee9df3b990da44e85.tar.bz2 sharkey-c0466d1585d37a32537e545ee9df3b990da44e85.zip | |
Convert symbols to strings explicitly (#12844)
| -rw-r--r-- | packages/frontend/src/pizzax.ts | 4 |
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`); }); } |