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.

Tweaks

Tim Wilson8a66c6f4c47d
diff --git a/apps/web/ui/modals/modal-provider.tsx b/apps/web/ui/modals/modal-provider.tsx
index 99fa464ea3..8fb7c9364c 100644
--- a/apps/web/ui/modals/modal-provider.tsx
+++ b/apps/web/ui/modals/modal-provider.tsx
@@ -129,7 +129,7 @@ function ModalProviderClient({ children }: { children: ReactNode }) {
// If another initial modal hasn't been opened, check/show the .link offer modal
useEffect(() => {
- if (showedUpgradedModal !== false) return;
+ if (showedUpgradedModal) return;
if (
workspace?.domains?.length === 0 &&
diff --git a/apps/web/ui/modals/upgraded-modal.tsx b/apps/web/ui/modals/upgraded-modal.tsx
index d023c6278f..5f26f1f8af 100644
--- a/apps/web/ui/modals/upgraded-modal.tsx
+++ b/apps/web/ui/modals/upgraded-modal.tsx
@@ -65,7 +65,6 @@ function UpgradedModal({
if (!plan) return null;
const onClose = async () => {
- console.log("onClose");
queryParams({
del: ["upgraded", "plan", "period"],
});