await is only valid in async functions and the top level bodies of modules lib/mdx-content.tsx (12:16) @ useMDXComponent 10 | 11 | const useMDXComponent = (code: string) => { > 12 | const fn = new Function(code)
await is only valid in async functions and the top level bodies of modules
lib/mdx-content.tsx (12:16) @ useMDXComponent
10 |
11 | const useMDXComponent = (code: string) => {