mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Remove callback type check
This commit is contained in:
parent
a67b4d7131
commit
606c0b7618
@ -178,7 +178,7 @@ module.exports = class KeyringController extends EventEmitter {
|
||||
const seedWords = firstKeyring.serialize().mnemonic
|
||||
this.configManager.setSeedWords(seedWords)
|
||||
|
||||
if (cb && typeof cb === 'function') {
|
||||
if (cb) {
|
||||
cb()
|
||||
this.emit('update')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user