Skip to content

Commit

Permalink
fix: api section markdown page (#1659)
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity authored Oct 12, 2024
1 parent 3f7debc commit c79b76a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/app/src/api-reference/ApiSectionMarkdownPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type * as FernNavigation from "@fern-api/fdr-sdk/navigation";
import clsx from "clsx";
import { ReactElement, memo, useRef } from "react";
import { useHref } from "../hooks/useHref";
import { Markdown } from "../mdx/Markdown";
import { MdxContent } from "../mdx/MdxContent";
import { useApiPageCenterElement } from "./useApiPageCenterElement";

interface ApiSectionMarkdownContentProps {
Expand All @@ -18,7 +18,7 @@ function ApiSectionMarkdownContent({ node, mdx, last = false }: ApiSectionMarkdo

return (
<div className={clsx("scroll-mt-content")} ref={ref} id={useHref(node.slug)}>
<Markdown mdx={mdx} />
<MdxContent mdx={mdx} />

{/* TODO: the following ensures that the bottom line matches the rest of the api reference, but this isn't very graceful */}
<div className="fern-endpoint-content">
Expand Down

0 comments on commit c79b76a

Please sign in to comment.