Skip to content

Commit

Permalink
Use proper TS types in IDP logo URL validation logic
Browse files Browse the repository at this point in the history
  • Loading branch information
pavinduLakshan committed Jan 2, 2025
1 parent f0da571 commit 9df55b4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ export const GeneralDetailsForm: FunctionComponent<GeneralDetailsFormPopsInterfa
onSubmit={ (values: GeneralDetailsFormValuesInterface): void => {
updateConfigurations(values);
} }
validate={ (values: any) => {
const errors: any = {
validate={ (values: GeneralDetailsFormValuesInterface) => {
const errors: Partial<Record<keyof GeneralDetailsFormValuesInterface, string>> = {
image: undefined
};

Expand Down

0 comments on commit 9df55b4

Please sign in to comment.