feat(shared): Updated design picker
This commit is contained in:
parent
e65f2ca701
commit
9a9f29d2eb
7 changed files with 242 additions and 91 deletions
|
@ -25,6 +25,7 @@ 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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue