1
0
Fork 0

wip(org): Working on stats/users pages

This commit is contained in:
joostdecock 2024-01-14 18:31:52 +01:00
parent 873539c92b
commit ffe938783f
13 changed files with 392 additions and 6 deletions

View file

@ -26,7 +26,6 @@ export const DynamicMdx = ({ site = 'org', slug, language, title = 1 }) => {
const [frontmatter, setFrontmatter] = useState(false)
useEffect(() => {
console.log('in effect')
const loadMdx = async () => {
const response = await fetch(`${ghPrefix}/${site}/${slug}/${language}.md`)
const md = await response.text()