mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? feat: add DynamicCategorize #918 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -25,7 +25,9 @@ const handleGithubCLick = () => {
|
||||
const RightToolBar = () => {
|
||||
const { t } = useTranslate('common');
|
||||
const changeLanguage = useChangeLanguage();
|
||||
const { language = '' } = useSelector((state) => state.settingModel.userInfo);
|
||||
const { language = 'en' } = useSelector(
|
||||
(state) => state.settingModel.userInfo,
|
||||
);
|
||||
|
||||
const handleItemClick: MenuProps['onClick'] = ({ key }) => {
|
||||
changeLanguage(key);
|
||||
|
||||
Reference in New Issue
Block a user