Skip to content

Commit 74f6686

Browse files
committed
fix: payment links UI
1 parent 88aa5c5 commit 74f6686

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/dashboard/src/app/pay/[id]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default async function PayPage({
5757
<PayPageWidget
5858
amount={paymentLink.amount ? BigInt(paymentLink.amount) : undefined}
5959
chainId={Number(paymentLink.destinationToken.chainId)}
60-
clientId={paymentLink.clientId}
60+
clientId={undefined} // Payment links don't need to use the same client ID to be executed
6161
image={paymentLink.imageUrl}
6262
name={paymentLink.title}
6363
paymentLinkId={id}

apps/dashboard/src/app/pay/components/client/PayPageWidget.client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function PayPageWidget({
2828
name?: string;
2929
image?: string;
3030
redirectUri?: string;
31-
clientId: string;
31+
clientId: string | undefined;
3232
theme?: "light" | "dark";
3333
purchaseData: Record<string, unknown> | undefined;
3434
}) {

0 commit comments

Comments
 (0)