import GiscusReact from '@giscus/react' import { useTheme } from '../contexts/index.js' interface Props { term?: string, } export function Giscus({ term }: Props) { const { actualTheme } = useTheme() const themeSuffix = actualTheme === 'light' ? '-burn' : '' const themeUrl = (import.meta as any).env.DEV ? `http://localhost:3000/src/styles/giscus${themeSuffix}.css` : `${location.protocol}//${location.host}/assets/giscus${themeSuffix}.css` return
}