@arcblock/ux 2.5.66 → 2.5.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Avatar/index.js +2 -2
- package/package.json +4 -4
- package/src/Avatar/index.js +2 -2
package/lib/Avatar/index.js
CHANGED
@@ -65,12 +65,12 @@ function Avatar(props) {
|
|
65
65
|
if ((0, _Util.isEthereumDid)(did)) {
|
66
66
|
return _etherscanBlockies.default.createIcon({
|
67
67
|
seed: did.replace('did:abt:', '').toLowerCase(),
|
68
|
-
size,
|
68
|
+
size: 8,
|
69
69
|
scale: 16
|
70
70
|
}).toDataURL();
|
71
71
|
}
|
72
72
|
return null;
|
73
|
-
}, [did
|
73
|
+
}, [did]);
|
74
74
|
|
75
75
|
// 如果显式传入 src 则直接使用 src
|
76
76
|
if (src && !imgError) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@arcblock/ux",
|
3
|
-
"version": "2.5.
|
3
|
+
"version": "2.5.67",
|
4
4
|
"description": "Common used react components for arcblock products",
|
5
5
|
"keywords": [
|
6
6
|
"react",
|
@@ -47,11 +47,11 @@
|
|
47
47
|
"peerDependencies": {
|
48
48
|
"react": ">=18.1.0"
|
49
49
|
},
|
50
|
-
"gitHead": "
|
50
|
+
"gitHead": "53a99f5789cb7be993f113c89a4213c04e8a48a6",
|
51
51
|
"dependencies": {
|
52
52
|
"@arcblock/did-motif": "^1.1.13",
|
53
|
-
"@arcblock/icons": "^2.5.
|
54
|
-
"@arcblock/react-hooks": "^2.5.
|
53
|
+
"@arcblock/icons": "^2.5.67",
|
54
|
+
"@arcblock/react-hooks": "^2.5.67",
|
55
55
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
56
56
|
"@emotion/react": "^11.10.4",
|
57
57
|
"@emotion/styled": "^11.10.4",
|
package/src/Avatar/index.js
CHANGED
@@ -40,13 +40,13 @@ function Avatar(props) {
|
|
40
40
|
return blockies
|
41
41
|
.createIcon({
|
42
42
|
seed: did.replace('did:abt:', '').toLowerCase(),
|
43
|
-
size,
|
43
|
+
size: 8,
|
44
44
|
scale: 16,
|
45
45
|
})
|
46
46
|
.toDataURL();
|
47
47
|
}
|
48
48
|
return null;
|
49
|
-
}, [did
|
49
|
+
}, [did]);
|
50
50
|
|
51
51
|
// 如果显式传入 src 则直接使用 src
|
52
52
|
if (src && !imgError) {
|