mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-05-31 20:21:04 +00:00
Typescript-eslint 2 (#193)
This commit is contained in:
@@ -47,7 +47,7 @@ export default class ExtensionStore implements KeyringStore {
|
||||
|
||||
public set (key: string, value: KeyringJson, cb?: () => void): void {
|
||||
// shortcut, don't save testing accounts in extension storage
|
||||
if (key.indexOf('account:') === 0 && value.meta && value.meta.isTesting) {
|
||||
if (key.startsWith('account:') && value.meta && value.meta.isTesting) {
|
||||
cb && cb();
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user