Skip to content

Commit 0a8b9e4

Browse files
STetsingci-bot
authored andcommitted
linting
1 parent fcd7824 commit 0a8b9e4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libs/remix-ui/settings/src/lib/settingsReducer.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ export const settingReducer = (state: SettingsState, action: SettingsActions): S
221221
switch (action.type) {
222222
case 'SET_VALUE':
223223
config.set('settings/' + action.payload.name, action.payload.value)
224-
225224
// Reset Ollama host cache when endpoint is changed
226225
if (action.payload.name === 'ollama-endpoint') {
227226
try {
@@ -230,7 +229,7 @@ export const settingReducer = (state: SettingsState, action: SettingsActions): S
230229
// Ignore errors - Ollama functionality is optional
231230
}
232231
}
233-
232+
234233
return { ...state, [action.payload.name]: { ...state[action.payload.name], value: action.payload.value, isLoading: false } }
235234
case 'SET_LOADING':
236235
return { ...state, [action.payload.name]: { ...state[action.payload.name], isLoading: true } }

0 commit comments

Comments
 (0)