mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00:00
fix: lint errors
This commit is contained in:
@@ -544,16 +544,16 @@ export function SettingsDialog({
|
||||
? defaultValue
|
||||
: false
|
||||
: typeof defaultValue === 'number' ||
|
||||
typeof defaultValue === 'string'
|
||||
typeof defaultValue === 'string'
|
||||
? defaultValue
|
||||
: undefined;
|
||||
const immediateSettingsObject =
|
||||
toSaveValue !== undefined
|
||||
? setPendingSettingValueAny(
|
||||
currentSetting.value,
|
||||
toSaveValue,
|
||||
{} as Settings,
|
||||
)
|
||||
currentSetting.value,
|
||||
toSaveValue,
|
||||
{} as Settings,
|
||||
)
|
||||
: ({} as Settings);
|
||||
|
||||
saveModifiedSettings(
|
||||
|
||||
Reference in New Issue
Block a user