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.

update confirm-modal.tsx

Pedro Ladeira98a85001d751
diff --git a/apps/web/ui/modals/confirm-modal.tsx b/apps/web/ui/modals/confirm-modal.tsx
index cb42500ef6..32fd8023c5 100644
--- a/apps/web/ui/modals/confirm-modal.tsx
+++ b/apps/web/ui/modals/confirm-modal.tsx
@@ -5,7 +5,7 @@ type PromptModelProps = {
title: string;
description: ReactNode | string;
- onCancel?: () => void;
+ onCancel?: () => Promise<void> | void;
cancelText?: string;
onConfirm: () => Promise<void> | void;