Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Oct 9, 2024
1 parent a1591c5 commit 91da9ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ui/app/src/api-reference/ApiReferenceContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ const UnmemoizedApiReferenceContent: React.FC<ApiReferenceContentProps> = ({
);
};

export const ApiReferenceContent = memo(UnmemoizedApiReferenceContent);
export const ApiReferenceContent = memo(UnmemoizedApiReferenceContent, (prev, next) => prev.node.id === next.node.id);
2 changes: 1 addition & 1 deletion packages/ui/app/src/docs/DocsMainContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useSearchParams } from "next/navigation";
import { Fragment, ReactElement, memo } from "react";
import { useFeatureFlags, useIsReady } from "../atoms";
import { FernErrorBoundary } from "../components/FernErrorBoundary";
import { DocsContent } from "../resolver/DocsContent";
import type { DocsContent } from "../resolver/DocsContent";

const CustomMarkdownPage = dynamic(
() => import("./CustomMarkdownPage").then(({ CustomMarkdownPage }) => CustomMarkdownPage),
Expand Down

0 comments on commit 91da9ca

Please sign in to comment.