aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/KaigirokuDougaLink.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/KaigirokuDougaLink.js b/src/components/KaigirokuDougaLink.js
index 3d07b778..e6724392 100644
--- a/src/components/KaigirokuDougaLink.js
+++ b/src/components/KaigirokuDougaLink.js
@@ -1,11 +1,12 @@
import React from 'react';
import ExternalLink from './ExternalLink.js';
import headingStyles from '@docusaurus/theme-classic/lib/theme/Heading/styles.module.css';
+import useBrokenLinks from '@docusaurus/useBrokenLinks';
export default function KaigirokuDougaLink({kaigirokuHref, dougaHref}) {
let mada = kaigirokuHref ? "" : "(まだ公開されていません)";
let kaigiroku = <ExternalLink href={kaigirokuHref}>📄 会議録{mada}</ExternalLink>
-
+ useBrokenLinks().collectAnchor("kaigiroku");
return (
<div className={headingStyles.anchorWithStickyNavbar} id="kaigiroku">
{kaigiroku}