The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix layout shift
Kiran Kd6c38f56406b
diff --git a/apps/web/ui/partners/payout-invoice-sheet.tsx b/apps/web/ui/partners/payout-invoice-sheet.tsxindex 9a924650c1..4acf676657 100644--- a/apps/web/ui/partners/payout-invoice-sheet.tsx+++ b/apps/web/ui/partners/payout-invoice-sheet.tsx@@ -154,26 +154,6 @@ function PayoutInvoiceSheetContent({ setIsOpen }: PayoutInvoiceSheetProps) {);const invoiceData = useMemo(() => {- if (eligiblePayoutsCountLoading) {- return {- Method: (- <div className="h-4 w-24 animate-pulse rounded-md bg-neutral-200" />- ),- Amount: (- <div className="h-4 w-24 animate-pulse rounded-md bg-neutral-200" />- ),- Fee: (- <div className="h-4 w-24 animate-pulse rounded-md bg-neutral-200" />- ),- "Transfer Time": (- <div className="h-4 w-24 animate-pulse rounded-md bg-neutral-200" />- ),- Total: (- <div className="h-4 w-24 animate-pulse rounded-md bg-neutral-200" />- ),- };- }-const amount =eligiblePayoutsCount?.find((p) => p.status === PayoutStatus.pending)?.amount ?? 0;