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 use-partner-profile.ts

Kiran Ka1205c7948d3
diff --git a/apps/web/lib/swr/use-partner-profile.ts b/apps/web/lib/swr/use-partner-profile.ts
index 27e34898e9..9d322eb17f 100644
--- a/apps/web/lib/swr/use-partner-profile.ts
+++ b/apps/web/lib/swr/use-partner-profile.ts
@@ -41,7 +41,7 @@ export default function usePartnerProfile() {
return {
partner: {
- ...partner,
+ ...(partner as PartnerProps),
payoutMethod: payoutMethod as PayoutMethod | null,
supportedPayoutMethod: supportedPayoutMethod as PayoutMethod | null,
},