Skip to content

Commit 4463a53

Browse files
authored
fix(web): text of the subMenu component no refreshed when language is changed (#1580)
1 parent 164f4e9 commit 4463a53

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

web/flat-web/src/pages/UserSettingPage/UserSettingLayoutContainer.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ export const UserSettingLayoutContainer: React.FC = ({ children }): React.ReactE
3838
},
3939
],
4040
});
41-
// eslint-disable-next-line react-hooks/exhaustive-deps
42-
}, []);
41+
}, [pageStore, t]);
4342

4443
return <div className="user-setting-layout-container">{children}</div>;
4544
};

0 commit comments

Comments
 (0)