diff --git a/src/frontend/src/types/components/index.ts b/src/frontend/src/types/components/index.ts index 1787b501e..428f33c54 100644 --- a/src/frontend/src/types/components/index.ts +++ b/src/frontend/src/types/components/index.ts @@ -111,18 +111,18 @@ export type TooltipComponentType = { children: ReactElement; title: string | ReactElement; placement?: - | "bottom-end" - | "bottom-start" - | "bottom" - | "left-end" - | "left-start" - | "left" - | "right-end" - | "right-start" - | "right" - | "top-end" - | "top-start" - | "top"; + | "bottom-end" + | "bottom-start" + | "bottom" + | "left-end" + | "left-start" + | "left" + | "right-end" + | "right-start" + | "right" + | "top-end" + | "top-start" + | "top"; }; export type ProgressBarType = { diff --git a/src/frontend/src/utils/reactflowUtils.ts b/src/frontend/src/utils/reactflowUtils.ts index d21028c70..3459010f4 100644 --- a/src/frontend/src/utils/reactflowUtils.ts +++ b/src/frontend/src/utils/reactflowUtils.ts @@ -200,9 +200,10 @@ export function validateNode( e.targetHandle.split("|")[2] === n.id ) ? [ - `${type} is missing ${template.display_name || toNormalCase(template[t].name) - }.`, - ] + `${type} is missing ${ + template.display_name || toNormalCase(template[t].name) + }.`, + ] : [] ), [] as string[]