Skip to content

Commit 4c6da53

Browse files
committed
fix
1 parent 82938e4 commit 4c6da53

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/developer-hub/src/components/Root/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { RootProviders } from "@pythnetwork/component-library/AppShell";
2-
import { RootProvider as FumadocsRootProvider } from "fumadocs-ui/provider";
2+
import { RootProvider as FumadocsRootProvider } from "fumadocs-ui/provider/next";
33
import { NuqsAdapter } from "nuqs/adapters/next/app";
44
import type { ReactNode } from "react";
55

apps/developer-hub/src/lib/source.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222
} from "@phosphor-icons/react/dist/ssr";
2323
import type { InferMetaType, InferPageType } from "fumadocs-core/source";
2424
import { loader } from "fumadocs-core/source";
25-
import { transformerOpenAPI } from "fumadocs-openapi/server";
25+
import { openapiPlugin } from "fumadocs-openapi/server";
2626
import { createElement } from "react";
2727

2828
import { docs } from "../../.source";
@@ -58,7 +58,7 @@ export const source = loader({
5858
pageTree: {
5959
// types are very similar but not exactly the same
6060
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
61-
transformers: [transformerOpenAPI()],
61+
transformers: [openapiPlugin()],
6262
},
6363
});
6464

0 commit comments

Comments
 (0)