diff --git a/docs/src/components/Bookmark/index.tsx b/docs/src/components/Bookmark/index.tsx index 0f22569b5..aa0f48386 100644 --- a/docs/src/components/Bookmark/index.tsx +++ b/docs/src/components/Bookmark/index.tsx @@ -1,17 +1,20 @@ import Heading from '@theme/Heading'; import Head from '@docusaurus/Head'; import styles from './styles.module.css'; +import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; const BookmarkSVG = require('@site/static/img/bookmarklet.svg').default; export default function Bookmark(): JSX.Element { + const { siteConfig } = useDocusaurusContext(); + return (
Bookmarklet -