Skip to content

Commit

Permalink
Update typing
Browse files Browse the repository at this point in the history
  • Loading branch information
martmull committed Nov 13, 2024
1 parent ea8253e commit 301b358
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export const WorkflowEditActionFormServerlessFunction = (
functionInput: FunctionInput,
path: string[] = [],
isRoot = true,
): ReactNode | undefined => {
): ReactNode[] => {
return Object.entries(functionInput).map(([inputKey, inputValue]) => {
const currentPath = [...path, inputKey];
const pathKey = currentPath.join('.');
Expand Down Expand Up @@ -191,7 +191,7 @@ export const WorkflowEditActionFormServerlessFunction = (
disabled={props.readonly}
onChange={handleFunctionChange}
/>
{functionInput && renderFields(functionInput)}
{renderFields(functionInput)}
</WorkflowEditGenericFormBase>
);
};

0 comments on commit 301b358

Please sign in to comment.