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 55 reactSource ,
66 docsSource ,
77} from "@/app/source" ;
8- import { VersionSwitcher } from "@/components/react-version-switcher" ;
8+ import { ReactVersionSwitcher } from "@/components/react-version-switcher" ;
99import { IconSparkle2 , IconTree } from "@karrotmarket/react-multicolor-icon" ;
1010import clsx from "clsx" ;
1111import type { DocsLayoutProps } from "fumadocs-ui/layouts/notebook" ;
@@ -125,7 +125,7 @@ export const reactOptions: DocsLayoutProps = {
125125 ...baseOptions ,
126126 sidebar : {
127127 ...baseOptions . sidebar ,
128- banner : < VersionSwitcher /> ,
128+ banner : < ReactVersionSwitcher /> ,
129129 } ,
130130 tree : await reactSource . getTransformedReactPageTree ( ) ,
131131} ;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const itemVariants = cva(
1616 "text-sm p-2 rounded-lg inline-flex items-center gap-2 hover:text-fd-accent-foreground hover:bg-fd-accent [&_svg]:size-4" ,
1717) ;
1818
19- export function VersionSwitcher ( ) {
19+ export function ReactVersionSwitcher ( ) {
2020 const [ open , setOpen ] = useState ( false ) ;
2121 const [ hostname , setHostname ] = useState ( "" ) ;
2222
You can’t perform that action at this time.
0 commit comments