🔧 fix(types): fix indentation in TooltipComponentType to improve code readability

🔧 fix(utils): fix indentation in validateNode function to improve code readability
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-09-18 09:59:34 -03:00
commit 8e166cebf3
2 changed files with 16 additions and 15 deletions

View file

@ -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 = {

View file

@ -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[]