mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 12:44:18 +08:00
style(providers): fix prettier formatting in ProviderForm
This commit is contained in:
@@ -1541,8 +1541,7 @@ function ProviderFormFull({
|
||||
payload.meta ?? (initialData?.meta ? { ...initialData.meta } : undefined);
|
||||
|
||||
// 确定 providerType(新建时从预设获取,编辑时从现有数据获取)
|
||||
const providerType =
|
||||
presetProviderType || initialData?.meta?.providerType;
|
||||
const providerType = presetProviderType || initialData?.meta?.providerType;
|
||||
|
||||
const nextMeta: ProviderMeta = {
|
||||
...(baseMeta ?? {}),
|
||||
|
||||
Reference in New Issue
Block a user