diff --git a/lib/run.tsx b/lib/run.tsx index a9c308d2e..69b55b04d 100644 --- a/lib/run.tsx +++ b/lib/run.tsx @@ -86,17 +86,17 @@ const run = async (string: string, _opts: RunOpts = {}) => { } return { - default: () => ( + default: props => ( - + ), toc, - Toc: () => + Toc: props => Toc ? ( - + ) : null, stylesheet,