The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix ts error
Steven Teyd64dc75510e6
diff --git a/apps/web/app/(ee)/app.dub.co/invoices/[invoiceId]/route.tsx b/apps/web/app/(ee)/app.dub.co/invoices/[invoiceId]/route.tsxindex 1a66766748..b0f3e7cd54 100644--- a/apps/web/app/(ee)/app.dub.co/invoices/[invoiceId]/route.tsx+++ b/apps/web/app/(ee)/app.dub.co/invoices/[invoiceId]/route.tsx@@ -91,7 +91,7 @@ export const GET = withSession(async ({ session, params }) => {const { amount: chargeAmount, currency: chargeCurrency } =invoice.stripeChargeMetadata? (invoice.stripeChargeMetadata as unknown as Stripe.Charge)- : {};+ : { amount: undefined, currency: undefined };const earliestPeriodStart = invoice.payouts.reduce((acc, payout) => {