We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edc6aa2 commit c3ff07dCopy full SHA for c3ff07d
1 file changed
src/components/MDX/MDXComponents.tsx
@@ -354,7 +354,7 @@ function IllustrationBlock({
354
</figure>
355
));
356
return (
357
- <IllustrationContext.Provider value={isInBlockTrue}>
+ <IllustrationContext value={isInBlockTrue}>
358
<div className="relative group before:absolute before:-inset-y-16 before:inset-x-0 my-16 mx-0 2xl:mx-auto max-w-4xl 2xl:max-w-6xl">
359
{sequential ? (
360
<ol className="mdx-illustration-block flex">
@@ -369,7 +369,7 @@ function IllustrationBlock({
369
)}
370
<AuthorCredit author={author} authorLink={authorLink} />
371
</div>
372
- </IllustrationContext.Provider>
+ </IllustrationContext>
373
);
374
}
375
0 commit comments