Skip to content

Commit

Permalink
FIX #779
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinovega committed Dec 4, 2024
1 parent d595489 commit ef22b3c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const FastApiCard = (props: FastApiCardProps) => {
isValidationStepTeamAdmin(s)
);
if (adminStep && isValidationStepTeamAdmin(adminStep)) {
openFormModal<{ motivation: string }>({
openFormModal<any>({
title: translate('motivations.modal.title'),
schema: adminStep.schema,
onSubmit: (motivation) => {
Expand All @@ -108,6 +108,7 @@ export const FastApiCard = (props: FastApiCardProps) => {
});
},
actionLabel: translate('Send'),
value: apiKey?.customMetadata
});
} else {
apiKeyDemand().then((response) => {
Expand Down

0 comments on commit ef22b3c

Please sign in to comment.