diff --git a/apps/website/src/components/CodeListing.tsx b/apps/website/src/components/CodeListing.tsx index b20affd00..7ddf52753 100644 --- a/apps/website/src/components/CodeListing.tsx +++ b/apps/website/src/components/CodeListing.tsx @@ -34,7 +34,7 @@ export function CodeListing({ }>) { return (
-
+
{summary || inheritanceData ? ( -
+
{deprecation ? : null} {summary ? : null} {comment ? : null} diff --git a/apps/website/src/components/model/Enum.tsx b/apps/website/src/components/model/Enum.tsx index 5ff1fdd16..56bc4700b 100644 --- a/apps/website/src/components/model/Enum.tsx +++ b/apps/website/src/components/model/Enum.tsx @@ -1,5 +1,6 @@ import type { ApiEnumJSON } from '@discordjs/api-extractor-utils'; import { Section } from '@discordjs/ui'; +import { Fragment } from 'react'; import { VscSymbolEnumMember } from 'react-icons/vsc'; import { useMedia } from 'react-use'; import { CodeListing, CodeListingSeparatorType } from '../CodeListing'; @@ -13,13 +14,15 @@ export function Enum({ data }: { data: ApiEnumJSON }) {
} padded title="Members">
{data.members.map((member) => ( - + + +
+ ))}