change language #245 (#246)

### What problem does this PR solve?

change language

Issue link: #245



- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-04-07 17:41:29 +08:00
committed by GitHub
parent 591202721d
commit 373946ef3f
47 changed files with 1301 additions and 458 deletions

View File

@@ -84,7 +84,7 @@ export const useSaveSetting = () => {
const dispatch = useDispatch();
const saveSetting = useCallback(
(userInfo: { new_password: string } | IUserInfo): number => {
(userInfo: { new_password: string } | Partial<IUserInfo>): number => {
return dispatch<any>({ type: 'settingModel/setting', payload: userInfo });
},
[dispatch],