Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update mdx.tsx

Steven Teycf13c85619d4
diff --git a/app/ui/content/mdx.tsx b/app/ui/content/mdx.tsx
index c9233af919..61bcd67312 100644
--- a/app/ui/content/mdx.tsx
+++ b/app/ui/content/mdx.tsx
@@ -109,7 +109,7 @@ export function MDX({ code, images, tweets, repos, className }: MDXProps) {
return (
// we need to wrap the image in a HTML element or showModal will throw errors
- <>
+ <div>
<figure className="not-prose flex flex-col items-center justify-center space-y-3">
<Zoom zoomMargin={isDesktop ? 45 : undefined}>
<BlurImage
@@ -126,7 +126,7 @@ export function MDX({ code, images, tweets, repos, className }: MDXProps) {
{props.alt}
</figcaption>
</figure>
- </>
+ </div>
);
};