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 partner payouts pagination, add members help articles

Steven Tey8b0426367d80
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/members/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/members/page-client.tsx
index dc6bfb636b..4008028a4d 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/members/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/members/page-client.tsx
@@ -244,6 +244,10 @@ export function WorkspaceMembersClient() {
<InviteCodeModal />
<PageContent
title="Members"
+ titleInfo={{
+ title:
+ "Learn how to [invite teammates](https://dub.co/help/article/how-to-invite-teammates) to your workspace and [assign them different roles and permissions](https://dub.co/help/article/workspace-roles).",
+ }}
controls={
<div className="flex space-x-2">
<Button
diff --git a/apps/web/lib/swr/use-partner-payouts.ts b/apps/web/lib/swr/use-partner-payouts.ts
index 60e4652f8e..4efdad5638 100644
--- a/apps/web/lib/swr/use-partner-payouts.ts
+++ b/apps/web/lib/swr/use-partner-payouts.ts
@@ -12,7 +12,14 @@ export default function usePartnerPayouts(opts?: Record<string, string>) {
const { data: payouts, error } = useSWR<PartnerPayoutResponse[]>(
partnerId
? `/api/partner-profile/payouts${getQueryString(opts, {
- include: ["programId", "sortBy", "sortOrder", "status"],
+ include: [
+ "programId",
+ "sortBy",
+ "sortOrder",
+ "status",
+ "page",
+ "pageSize",
+ ],
})}`
: undefined,
fetcher,