mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
fix: wrong setting for localstorage workspace. (#821)
This commit is contained in:
parent
228889c50c
commit
c34517be2b
@ -24,7 +24,7 @@ export const settingsSlice = createSlice({
|
||||
state.workspaceDirectory = action.payload;
|
||||
},
|
||||
setLanguage: (state, action) => {
|
||||
localStorage.setItem("workspaceDirectory", action.payload);
|
||||
localStorage.setItem("language", action.payload);
|
||||
state.language = action.payload;
|
||||
i18next.changeLanguage(action.payload);
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user