diff --git a/playground/nextjs-app-router/lib/hooks.ts b/playground/nextjs-app-router/lib/hooks.ts index 2fd80615ec..9abfc653f8 100644 --- a/playground/nextjs-app-router/lib/hooks.ts +++ b/playground/nextjs-app-router/lib/hooks.ts @@ -18,10 +18,8 @@ export function useCapabilities() { return enabled ? { - ...(paymasterUrl && { - paymasterService: { url: paymasterUrl }, - }), - } + ...(paymasterUrl ? { paymasterService: { url: paymasterUrl } } : {}), + } : undefined; }