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.

Remove modal close on invite resend success

Marcus Farrell3ef629ebdceb
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/partners/[partnerId]/layout.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/partners/[partnerId]/layout.tsx
index 9e9d8cf692..f2d95a3a5b 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/partners/[partnerId]/layout.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/partners/[partnerId]/layout.tsx
@@ -141,7 +141,6 @@ function PageControls({ partner }: { partner: EnrolledPartnerProps }) {
useAction(resendProgramInviteAction, {
onSuccess: async () => {
toast.success("Resent the partner invite.");
- setIsOpen(false);
},
onError: ({ error }) => {
toast.error(error.serverError);