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.

fix slug

Steven Tey019ec695725a
diff --git a/apps/web/ui/modals/accept-invite-modal.tsx b/apps/web/ui/modals/accept-invite-modal.tsx
index 8f24f56c42..911e3c6618 100644
--- a/apps/web/ui/modals/accept-invite-modal.tsx
+++ b/apps/web/ui/modals/accept-invite-modal.tsx
@@ -62,7 +62,7 @@ function AcceptInviteModal({
workspace: slug,
});
await mutatePrefix("/api/workspaces");
- router.replace(`/${slug}`);
+ router.replace(`/${slug}/links`);
setShowAcceptInviteModal(false);
toast.success("You now are a part of this workspace!");
});