mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
fix: lint errors
This commit is contained in:
parent
f599cda7d2
commit
d3476a2d47
5 changed files with 10 additions and 12 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue