File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
- import { Link } from "@docusaurus/router" ;
3
- import useBaseUrl from "@docusaurus/useBaseUrl" ;
2
+ import Link from "@docusaurus/Link" ;
4
3
5
4
export default function ThemeButton ( {
6
5
path,
@@ -12,7 +11,7 @@ export default function ThemeButton({
12
11
return (
13
12
< Link
14
13
className = "button button--secondary button--lg"
15
- to = { useBaseUrl ( path ) }
14
+ to = { path }
16
15
style = { { backgroundColor : "#fff" } }
17
16
>
18
17
{ children }
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
- import clsx from "clsx" ;
3
2
import Layout from "@theme/Layout" ;
4
3
import useDocusaurusContext from "@docusaurus/useDocusaurusContext" ;
5
4
import HomepageFeatures from "../components/HomepageFeatures" ;
You can’t perform that action at this time.
0 commit comments