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} uiSchema={uiSchema}
formData={credentialsCopy} formData={credentialsCopy}
onChange={(formData) => {onChange(formData.formData)}} onChange={(formData) => {onChange(formData.formData)}}
// @ts-ignore
customFormats={customFormats} customFormats={customFormats}
className={className} className={className}
liveValidate liveValidate

View File

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

View File

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