File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import { 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 " ;
33import { NuqsAdapter } from "nuqs/adapters/next/app" ;
44import type { ReactNode } from "react" ;
55
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import {
2222} from "@phosphor-icons/react/dist/ssr" ;
2323import type { InferMetaType , InferPageType } from "fumadocs-core/source" ;
2424import { loader } from "fumadocs-core/source" ;
25- import { transformerOpenAPI } from "fumadocs-openapi/server" ;
25+ import { openapiPlugin } from "fumadocs-openapi/server" ;
2626import { createElement } from "react" ;
2727
2828import { 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
You can’t perform that action at this time.
0 commit comments