Skip to content

Commit

Permalink
fix: wrong setting for localstorage workspace. (All-Hands-AI#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
iFurySt committed Apr 6, 2024
1 parent 228889c commit c34517b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/state/settingsSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
Expand Down

0 comments on commit c34517b

Please sign in to comment.