fix: refactor connector form

This commit is contained in:
Maël Gangloff
2025-02-18 17:32:34 +01:00
parent ac5b9d5d4c
commit 3cca7c8213
7 changed files with 66 additions and 69 deletions

View File

@@ -1,9 +1,13 @@
import {Button, Checkbox, Form, Typography} from "antd"
import {Button, Checkbox, Form, Input, Typography} from "antd"
import {t} from "ttag"
import React from "react"
export function DefaultConnectorFormItems({tosLink}: { tosLink: string }) {
return <>
<Form.Item name="provider" noStyle>
<Input type="hidden" />
</Form.Item>
<Form.Item
valuePropName='checked'
label={t`API Terms of Service`}