diff --git a/src/components/Hyvor.astro b/src/components/Hyvor.astro index 94a2cc4..29f8f5c 100644 --- a/src/components/Hyvor.astro +++ b/src/components/Hyvor.astro @@ -1,10 +1,16 @@ --- // Hyvor Talk comments component +interface Props { + pageId?: string; +} + +const { pageId } = Astro.props; +const computedPageId = pageId ?? Astro.url.pathname; ---