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.

fixed a very stupid bug

Steven Tey1454a3e72e75
diff --git a/components/shared/modal.tsx b/components/shared/modal.tsx
index 41ecf7df3b..74ed46c287 100644
--- a/components/shared/modal.tsx
+++ b/components/shared/modal.tsx
@@ -95,7 +95,6 @@ export default function Modal({
initial={{ scale: 0.95 }}
animate={{ scale: 1 }}
exit={{ scale: 0.95 }}
- onClick={closeModal}
>
{children}
</motion.div>
diff --git a/lib/auth.ts b/lib/auth.ts
index fc440da168..67303642c1 100644
--- a/lib/auth.ts
+++ b/lib/auth.ts
@@ -1,4 +1,4 @@
-import { NextApiHandler, NextApiRequest, NextApiResponse } from "next";
+import { NextApiRequest, NextApiResponse } from "next";
import { unstable_getServerSession } from "next-auth/next";
import { authOptions } from "@/pages/api/auth/[...nextauth]";
import prisma from "@/lib/prisma";