The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
reverted motion.div -> motion.dialog change
Steven Teybfc21a1212e7
diff --git a/components/shared/modal.tsx b/components/shared/modal.tsxindex 08c1f99d8d..c4098c214b 100644--- a/components/shared/modal.tsx+++ b/components/shared/modal.tsx@@ -90,10 +90,10 @@ export default function Modal({</div>{children}</motion.div>- <motion.dialog+ <motion.divref={desktopModalRef}key="desktop-modal"- className="fixed inset-0 z-40 hidden sm:block bg-transparent"+ className="fixed inset-0 z-40 min-h-screen hidden sm:flex items-center justify-center"initial={{ scale: 0.95 }}animate={{ scale: 1 }}exit={{ scale: 0.95 }}@@ -102,7 +102,7 @@ export default function Modal({}}>{children}- </motion.dialog>+ </motion.div><motion.divkey="backdrop"className="fixed inset-0 z-30 bg-gray-100 bg-opacity-10 backdrop-blur"