diff options
author | Hsuan Lee <boczeratul@gmail.com> | 2018-10-16 20:29:38 +0800 |
---|---|---|
committer | Hsuan Lee <hsuan@cobinhood.com> | 2018-12-10 18:16:57 +0800 |
commit | 354ba3d672ec8a579a86fb6a2cfc577c3eaf7985 (patch) | |
tree | 13d5504174164f376dcf4789e545a386ff0b567a | |
parent | 6c11bcaeb94b4b98287d9ad1b9442932d4dffd61 (diff) | |
download | dexon-wallet-354ba3d672ec8a579a86fb6a2cfc577c3eaf7985.tar.gz dexon-wallet-354ba3d672ec8a579a86fb6a2cfc577c3eaf7985.tar.zst dexon-wallet-354ba3d672ec8a579a86fb6a2cfc577c3eaf7985.zip |
Use DEXON version of jazzicon
-rw-r--r-- | old-ui/app/components/identicon.js | 2 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | ui/app/components/identicon.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/old-ui/app/components/identicon.js b/old-ui/app/components/identicon.js index bb476ca7..5976a344 100644 --- a/old-ui/app/components/identicon.js +++ b/old-ui/app/components/identicon.js @@ -3,7 +3,7 @@ const h = require('react-hyperscript') const inherits = require('util').inherits const isNode = require('detect-node') const findDOMNode = require('react-dom').findDOMNode -const jazzicon = require('jazzicon') +const jazzicon = require('@dexon-foundation/jazzicon') const iconFactoryGen = require('../../lib/icon-factory') const iconFactory = iconFactoryGen(jazzicon) diff --git a/package.json b/package.json index 7b99d9f8..00fe5cf9 100644 --- a/package.json +++ b/package.json @@ -81,6 +81,7 @@ }, "dependencies": { "@sentry/browser": "^4.1.1", + "@dexon-foundation/jazzicon": "^2.0.0", "@material-ui/core": "^3.1.0", "@zxing/library": "^0.8.0", "abi-decoder": "^1.0.9", @@ -149,7 +150,6 @@ "iframe": "^1.0.0", "iframe-stream": "^3.0.0", "inject-css": "^0.1.1", - "jazzicon": "^1.2.0", "json-rpc-engine": "^3.8.0", "json-rpc-middleware-stream": "^2.1.0", "jsonschema": "^1.2.4", diff --git a/ui/app/components/identicon.js b/ui/app/components/identicon.js index 48de233a..fd28b3fc 100644 --- a/ui/app/components/identicon.js +++ b/ui/app/components/identicon.js @@ -4,7 +4,7 @@ const inherits = require('util').inherits const connect = require('react-redux').connect const isNode = require('detect-node') const findDOMNode = require('react-dom').findDOMNode -const jazzicon = require('jazzicon') +const jazzicon = require('@dexon-foundation/jazzicon') const iconFactoryGen = require('../../lib/icon-factory') const iconFactory = iconFactoryGen(jazzicon) const { toDataUrl } = require('../../lib/blockies') |