diff --git a/src/main/config/profile.ts b/src/main/config/profile.ts index 2bc23ea..cbd3a38 100644 --- a/src/main/config/profile.ts +++ b/src/main/config/profile.ts @@ -103,6 +103,7 @@ export async function createProfile(item: Partial): Promise): Promise = (props) => { /> {values.type === 'remote' && ( - - { - setValues({ ...values, url: v }) - }} - /> - - )} - {values.type === 'remote' && ( - - { - setValues({ ...values, interval: parseInt(v) }) - }} - /> - + <> + + { + setValues({ ...values, url: v }) + }} + /> + + + { + setValues({ ...values, useProxy: v }) + }} + /> + + + { + setValues({ ...values, interval: parseInt(v) }) + }} + /> + + )}