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 app modal bug

Steven Tey51f0345f1e9c
diff --git a/components/shared/modal.tsx b/components/shared/modal.tsx
index 0b9f247788..d8bc9646ec 100644
--- a/components/shared/modal.tsx
+++ b/components/shared/modal.tsx
@@ -33,8 +33,6 @@ export default function Modal({
(closeWithX?: boolean) => {
if (closeWithX) {
return;
- } else if (key) {
- router.push("/");
} else {
setShowModal(false);
}