Remove unused loadSettings action
@@ -43,13 +43,6 @@ const settingsSlice = createSlice({
name: "settings",
initialState,
reducers: {
- loadSettings: (state, action: PayloadAction<Partial<SettingsState>>) => {
- return {
- ...state,
- ...action.payload,
- };
- },
-
editSettings: (state, action: PayloadAction<Partial<SettingsState>>) => {
return {
...state,
@@ -79,6 +72,4 @@ export const getSettings = (state: RootState) => state.project.present.settings;
export const { actions, reducer } = settingsSlice;
-export const { loadSettings } = actions;
-
export default reducer;
