fix typo: Unkown => Unknown (#6559)
This commit is contained in:
parent
9a086face4
commit
fee056a251
@ -52,7 +52,7 @@ pub trait IpcConfig {
|
||||
/// Error in dispatching or invoking methods via IPC
|
||||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
UnkownSystemCall,
|
||||
UnknownSystemCall,
|
||||
ClientUnsupported,
|
||||
RemoteServiceUnsupported,
|
||||
HandshakeFailed,
|
||||
|
@ -163,7 +163,7 @@ export default {
|
||||
],
|
||||
returns: {
|
||||
type: Data,
|
||||
desc: '`true` on successful removal, `false` on unkown identity'
|
||||
desc: '`true` on successful removal, `false` on unknown identity'
|
||||
}
|
||||
},
|
||||
|
||||
@ -285,7 +285,7 @@ export default {
|
||||
}],
|
||||
returns: {
|
||||
type: Boolean,
|
||||
desc: '`true` on success, `false` on unkown subscription ID.'
|
||||
desc: '`true` on success, `false` on unknown subscription ID.'
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -248,7 +248,7 @@ export default class SecureApi extends Api {
|
||||
.then(() => true);
|
||||
})
|
||||
.catch((error) => {
|
||||
log.error('unkown error in _connect', error);
|
||||
log.error('unknown error in _connect', error);
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ export default class TypedInput extends Component {
|
||||
return this.renderParam(param);
|
||||
}
|
||||
|
||||
console.error('<TypedInput>', `unkown "${param}" param passed to props`);
|
||||
console.error('<TypedInput>', `unknown "${param}" param passed to props`);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -17,12 +17,12 @@
|
||||
import Push from 'push.js';
|
||||
import BigNumber from 'bignumber.js';
|
||||
|
||||
import unkownIcon from '~/../assets/images/contracts/unknown-64x64.png';
|
||||
import unknownIcon from '~/../assets/images/contracts/unknown-64x64.png';
|
||||
|
||||
export function notifyTransaction (account, token, _value, onClick) {
|
||||
const name = account.name || account.address;
|
||||
const value = _value.div(new BigNumber(token.format || 1));
|
||||
const icon = token.image || unkownIcon;
|
||||
const icon = token.image || unknownIcon;
|
||||
|
||||
let _notification = null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user