Bump dev (w/ deprecation warnings) (#699)

This commit is contained in:
Jaco
2022-12-14 08:31:06 +02:00
committed by GitHub
parent 7f418f77e1
commit b0b8424c11
5 changed files with 222 additions and 167 deletions
@@ -8,7 +8,7 @@ import React, { useMemo } from 'react';
function Identicon ({ className = '', publicKey, size, style }: Props): React.ReactElement<Props> {
const html = useMemo(
() => ({ __html: jdenticon.toSvg(publicKey.substr(2), size) }),
() => ({ __html: jdenticon.toSvg(publicKey.substring(2), size) }),
[publicKey, size]
);
+1 -1
View File
@@ -189,7 +189,7 @@ export class Keyring extends Base implements KeyringStruct {
}
private rewriteKey (json: KeyringJson, key: string, hexAddr: string, creator: (addr: string) => string): void {
if (hexAddr.substr(0, 2) === '0x') {
if (hexAddr.substring(0, 2) === '0x') {
return;
}