diff --git a/apps/website/src/components/model/function/Function.tsx b/apps/website/src/components/model/function/Function.tsx index 6aee8dcbc..7edaaef4c 100644 --- a/apps/website/src/components/model/function/Function.tsx +++ b/apps/website/src/components/model/function/Function.tsx @@ -8,16 +8,14 @@ const OverloadSwitcher = dynamic(async () => import('../../OverloadSwitcher')); export function Function({ item }: { readonly item: ApiFunction }) { if (item.getMergedSiblings().length > 1) { - const overloads = item - .getMergedSiblings() - .map((sibling, idx) => ); - - return ( - - - + const overloads = item.getMergedSiblings().map((sibling, idx) => ( + + + - ); + )); + + return ; } return (