@liujitcn/kratos-taro-app-system 0.0.74 → 0.0.76

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/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "type": "git",
8
8
  "url": "git@github.com:liujitcn/kratos-admin.git"
9
9
  },
10
- "version": "0.0.74",
10
+ "version": "0.0.76",
11
11
  "type": "module",
12
12
  "files": [
13
13
  "dist",
@@ -38,8 +38,8 @@
38
38
  "@tarojs/components": "4.2.1",
39
39
  "@tarojs/taro": "4.2.1",
40
40
  "react": "18.3.1",
41
- "@liujitcn/kratos-taro-app-core": "^0.0.74",
42
- "@liujitcn/kratos-taro-app-ui": "^0.0.74"
41
+ "@liujitcn/kratos-taro-app-core": "^0.0.76",
42
+ "@liujitcn/kratos-taro-app-ui": "^0.0.76"
43
43
  },
44
44
  "scripts": {
45
45
  "build": "pnpm run build:entries && pnpm pack --pack-destination ../../../dist/npm",
@@ -23,7 +23,7 @@ export default function MyPage() {
23
23
 
24
24
  useEffect(() => {
25
25
  void Taro.setNavigationBarTitle({ title: t('core.navigation.my') })
26
- }, [locale])
26
+ }, [locale, t])
27
27
 
28
28
  const openAuthenticatedPage = (route: string) => {
29
29
  if (!ensureAuthenticated()) {
@@ -65,7 +65,7 @@ export default function ProfilePage() {
65
65
 
66
66
  useEffect(() => {
67
67
  void Taro.setNavigationBarTitle({ title: t('system.profile.title') })
68
- }, [locale])
68
+ }, [locale, t])
69
69
 
70
70
  useEffect(() => {
71
71
  return () => {
@@ -37,7 +37,7 @@ export default function SettingsPage() {
37
37
 
38
38
  useEffect(() => {
39
39
  void Taro.setNavigationBarTitle({ title: t('system.settings.title') })
40
- }, [locale])
40
+ }, [locale, t])
41
41
 
42
42
  const loadMfaStatus = async (force = false) => {
43
43
  if (!useUserStore.getState().isAuthenticated() || (mfaStatusLoading && !force)) return