From fee056a25167d2bbc127cb5fdb5cafdbed7e0097 Mon Sep 17 00:00:00 2001 From: vacuum-car <32087870+vacuum-car@users.noreply.github.com> Date: Mon, 2 Oct 2017 22:27:59 +0900 Subject: [PATCH] fix typo: Unkown => Unknown (#6559) --- ipc/rpc/src/interface.rs | 2 +- js/src/jsonrpc/interfaces/shh.js | 4 ++-- js/src/secureApi.js | 2 +- js/src/ui/Form/TypedInput/typedInput.js | 2 +- js/src/util/notifications.js | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ipc/rpc/src/interface.rs b/ipc/rpc/src/interface.rs index c3e82fef4..846b7c1b6 100644 --- a/ipc/rpc/src/interface.rs +++ b/ipc/rpc/src/interface.rs @@ -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, diff --git a/js/src/jsonrpc/interfaces/shh.js b/js/src/jsonrpc/interfaces/shh.js index 7084aa3bf..762029af6 100644 --- a/js/src/jsonrpc/interfaces/shh.js +++ b/js/src/jsonrpc/interfaces/shh.js @@ -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.' } } }; diff --git a/js/src/secureApi.js b/js/src/secureApi.js index 1d40cb9f7..ebb1870e7 100644 --- a/js/src/secureApi.js +++ b/js/src/secureApi.js @@ -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; }); } diff --git a/js/src/ui/Form/TypedInput/typedInput.js b/js/src/ui/Form/TypedInput/typedInput.js index e9f9c7eee..e745cf593 100644 --- a/js/src/ui/Form/TypedInput/typedInput.js +++ b/js/src/ui/Form/TypedInput/typedInput.js @@ -88,7 +88,7 @@ export default class TypedInput extends Component { return this.renderParam(param); } - console.error('', `unkown "${param}" param passed to props`); + console.error('', `unknown "${param}" param passed to props`); return null; } diff --git a/js/src/util/notifications.js b/js/src/util/notifications.js index 74732cac2..d153b2cce 100644 --- a/js/src/util/notifications.js +++ b/js/src/util/notifications.js @@ -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;