UI: Fix typescript errors

This commit is contained in:
vakarisz 2022-07-25 17:29:23 +03:00
parent 4d3fb03da2
commit a00ae6ad23
3 changed files with 3 additions and 1 deletions

View File

@ -18,6 +18,7 @@ export default function CredentialsConfig(props) {
uiSchema={uiSchema}
formData={credentialsCopy}
onChange={(formData) => {onChange(formData.formData)}}
// @ts-ignore
customFormats={customFormats}
className={className}
liveValidate

View File

@ -10,7 +10,7 @@ import {reformatConfig} from './ReformatHook';
type Props = {
show: boolean,
configuration: object,
credentials: object,
credentials: string,
onHide: () => void
}

View File

@ -65,6 +65,7 @@ export default function PropagationConfig(props) {
uiSchema={displayedUiSchema}
formData={selectedSectionData}
onChange={onFormDataChange}
// @ts-ignore
customFormats={customFormats}
className={className}
// Each form must be a unique component