@blocklet/ui-react 2.9.36 → 2.9.38
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.
|
@@ -128,7 +128,7 @@ export default function UserCenter({
|
|
|
128
128
|
// icon: x.icon,
|
|
129
129
|
};
|
|
130
130
|
});
|
|
131
|
-
}, [formattedBlocklet, userState.data, privacyState?.data]);
|
|
131
|
+
}, [formattedBlocklet, userState.data, privacyState?.data, locale]);
|
|
132
132
|
const currentActiveTab = useCreation(() => {
|
|
133
133
|
return userCenterTabs.find((x) => x.value === currentTab);
|
|
134
134
|
}, [userCenterTabs]);
|
|
@@ -138,7 +138,7 @@ function UserCenter({
|
|
|
138
138
|
// icon: x.icon,
|
|
139
139
|
};
|
|
140
140
|
});
|
|
141
|
-
}, [formattedBlocklet, userState.data, privacyState?.data]);
|
|
141
|
+
}, [formattedBlocklet, userState.data, privacyState?.data, locale]);
|
|
142
142
|
const currentActiveTab = (0, _ahooks.useCreation)(() => {
|
|
143
143
|
return userCenterTabs.find(x => x.value === currentTab);
|
|
144
144
|
}, [userCenterTabs]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/ui-react",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.38",
|
|
4
4
|
"description": "Some useful front-end web components that can be used in Blocklets.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@abtnode/constant": "1.16.23",
|
|
66
|
-
"@arcblock/did-connect": "^2.9.
|
|
67
|
-
"@arcblock/ux": "^2.9.
|
|
66
|
+
"@arcblock/did-connect": "^2.9.38",
|
|
67
|
+
"@arcblock/ux": "^2.9.38",
|
|
68
68
|
"@blocklet/js-sdk": "1.16.23",
|
|
69
69
|
"@emotion/react": "^11.10.4",
|
|
70
70
|
"@emotion/styled": "^11.10.4",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"jest": "^28.1.3",
|
|
101
101
|
"unbuild": "^2.0.0"
|
|
102
102
|
},
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "c237952e44055ba095d463f295c8bc9b28635cf9"
|
|
104
104
|
}
|
|
@@ -154,7 +154,7 @@ export default function UserCenter({
|
|
|
154
154
|
// icon: x.icon,
|
|
155
155
|
};
|
|
156
156
|
});
|
|
157
|
-
}, [formattedBlocklet, userState.data, privacyState?.data]);
|
|
157
|
+
}, [formattedBlocklet, userState.data, privacyState?.data, locale]);
|
|
158
158
|
|
|
159
159
|
const currentActiveTab = useCreation(() => {
|
|
160
160
|
return userCenterTabs.find((x) => x.value === currentTab);
|