Skip to content

Commit 97af66f

Browse files
committed
fix: condition
1 parent 30f1b23 commit 97af66f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/containers/UserSettings/settings.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ export function getUserSettings({
213213
});
214214

215215
const editor = codeAssistantConfigured
216-
? editorPage
217-
: createNextState(editorPage, (draft) => {
216+
? createNextState(editorPage, (draft) => {
218217
draft.sections[0].settings.push(enableCodeAssistantSetting);
219-
});
218+
})
219+
: editorPage;
220220

221221
const settings: YDBEmbeddedUISettings = [generalPage, editor, experiments, aboutPage];
222222

0 commit comments

Comments
 (0)