The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
run prettier
Steven Teycc7b9ff67a43
diff --git a/apps/web/app/not-found-hint.tsx b/apps/web/app/not-found-hint.tsxindex 295356182c..4f30536dd1 100644--- a/apps/web/app/not-found-hint.tsx+++ b/apps/web/app/not-found-hint.tsx@@ -13,7 +13,7 @@ export function NotFoundHint() {}function NotFoundHintChild() {- const { data: session, status } = useSession();+ const { data: session } = useSession();const [isLoading, setIsLoading] = useState(false);return (diff --git a/apps/web/ui/partners/payout-invoice-sheet.tsx b/apps/web/ui/partners/payout-invoice-sheet.tsxindex d0e5abba84..6d74edf875 100644--- a/apps/web/ui/partners/payout-invoice-sheet.tsx+++ b/apps/web/ui/partners/payout-invoice-sheet.tsx@@ -248,7 +248,12 @@ function PayoutInvoiceSheetContent({ setIsOpen }: PayoutInvoiceSheetProps) {maximumFractionDigits: 2,}),};- }, [eligiblePayoutsCount, eligiblePayoutsCountLoading, paymentMethods, selectedPaymentMethod]);+ }, [+ eligiblePayoutsCount,+ eligiblePayoutsCountLoading,+ paymentMethods,+ selectedPaymentMethod,+ ]);const table = useTable({data: eligiblePayouts || [],columns: [diff --git a/packages/email/src/templates/campaign-imported.tsx b/packages/email/src/templates/campaign-imported.tsxindex d03534273d..7535d6fde4 100644--- a/packages/email/src/templates/campaign-imported.tsx+++ b/packages/email/src/templates/campaign-imported.tsx@@ -43,11 +43,7 @@ export function CampaignImported({<Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5"><Section className="mb-8 mt-6">- <Img- src={DUB_WORDMARK}- height="32"- alt="Dub"- />+ <Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">Your {provider} campaign has been importeddiff --git a/packages/email/src/templates/clicks-exceeded.tsx b/packages/email/src/templates/clicks-exceeded.tsxindex 7368f0bb72..f0ce9ac56d 100644--- a/packages/email/src/templates/clicks-exceeded.tsx+++ b/packages/email/src/templates/clicks-exceeded.tsx@@ -45,7 +45,7 @@ export function ClicksExceeded({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-6 mt-8">+ <Section className="mt-8"><Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">diff --git a/packages/email/src/templates/clicks-summary.tsx b/packages/email/src/templates/clicks-summary.tsxindex caf71edb79..0238449784 100644--- a/packages/email/src/templates/clicks-summary.tsx+++ b/packages/email/src/templates/clicks-summary.tsx@@ -64,12 +64,8 @@ export function ClicksSummary({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-8 mt-6">- <Img- src={DUB_WORDMARK}- height="32"- alt="Dub"- />+ <Section className="mt-8">+ <Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">Your 30-day Dub summary for {workspaceName}@@ -81,7 +77,7 @@ export function ClicksSummary({created <strong>{createdLinks} new links</strong> during thattime.</Text>- <Section className="rounded-lg border border-solid border-neutral-200 pt-6 pb-2">+ <Section className="rounded-lg border border-solid border-neutral-200 pb-2 pt-6"><Row><Column align="center"><div className="flex h-12 w-12 items-center justify-center rounded-full bg-blue-200">diff --git a/packages/email/src/templates/confirm-email-change.tsx b/packages/email/src/templates/confirm-email-change.tsxindex 12990bbd96..a085f615f3 100644--- a/packages/email/src/templates/confirm-email-change.tsx+++ b/packages/email/src/templates/confirm-email-change.tsx@@ -31,11 +31,7 @@ export function ConfirmEmailChange({<Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5"><Section className="mt-8">- <Img- src={DUB_WORDMARK}- height="32"- alt="Dub"- />+ <Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">Confirm your email address changediff --git a/packages/email/src/templates/domain-claimed.tsx b/packages/email/src/templates/domain-claimed.tsxindex bafb5498de..7ae6d5176b 100644--- a/packages/email/src/templates/domain-claimed.tsx+++ b/packages/email/src/templates/domain-claimed.tsx@@ -30,12 +30,8 @@ export function DomainClaimed({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-8 mt-6">- <Img- src={DUB_WORDMARK}- height="32"- alt="Dub"- />+ <Section className="mt-8">+ <Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">Successfully claimed your .link domain!diff --git a/packages/email/src/templates/domain-deleted.tsx b/packages/email/src/templates/domain-deleted.tsxindex 53ab280330..8a076d343d 100644--- a/packages/email/src/templates/domain-deleted.tsx+++ b/packages/email/src/templates/domain-deleted.tsx@@ -30,7 +30,7 @@ export function DomainDeleted({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-6 mt-8">+ <Section className="mt-8"><Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">diff --git a/packages/email/src/templates/domain-transferred.tsx b/packages/email/src/templates/domain-transferred.tsxindex 005f5a3e68..0dda1618f0 100644--- a/packages/email/src/templates/domain-transferred.tsx+++ b/packages/email/src/templates/domain-transferred.tsx@@ -33,12 +33,8 @@ export function DomainTransferred({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-8 mt-6">- <Img- src={DUB_WORDMARK}- height="32"- alt="Dub"- />+ <Section className="mt-8">+ <Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">Domain Transferreddiff --git a/packages/email/src/templates/email-updated.tsx b/packages/email/src/templates/email-updated.tsxindex 753aa134eb..5233bde505 100644--- a/packages/email/src/templates/email-updated.tsx+++ b/packages/email/src/templates/email-updated.tsx@@ -28,12 +28,8 @@ export function EmailUpdated({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-8 mt-6">- <Img- src={DUB_WORDMARK}- height="32"- alt="Dub"- />+ <Section className="mt-8">+ <Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">Your email address has been changeddiff --git a/packages/email/src/templates/failed-payment.tsx b/packages/email/src/templates/failed-payment.tsxindex 4d0a791b2f..6982960416 100644--- a/packages/email/src/templates/failed-payment.tsx+++ b/packages/email/src/templates/failed-payment.tsx@@ -37,7 +37,7 @@ export function FailedPayment({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-6 mt-8">+ <Section className="mt-8"><Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">diff --git a/packages/email/src/templates/feedback-email.tsx b/packages/email/src/templates/feedback-email.tsxindex 6b82b4f52b..849a0b1740 100644--- a/packages/email/src/templates/feedback-email.tsx+++ b/packages/email/src/templates/feedback-email.tsx@@ -26,12 +26,8 @@ export function FeedbackEmail({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-8 mt-6">- <Img- src={DUB_WORDMARK}- height="32"- alt="Dub"- />+ <Section className="mt-8">+ <Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">New Feedback Receiveddiff --git a/packages/email/src/templates/folder-edit-access-requested.tsx b/packages/email/src/templates/folder-edit-access-requested.tsxindex 34870860cd..8c81289005 100644--- a/packages/email/src/templates/folder-edit-access-requested.tsx+++ b/packages/email/src/templates/folder-edit-access-requested.tsx@@ -42,12 +42,8 @@ export function FolderEditAccessRequested({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-8 mt-6">- <Img- src={DUB_WORDMARK}- height="32"- alt="Dub"- />+ <Section className="mt-8">+ <Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">Request to edit {folder.name}diff --git a/packages/email/src/templates/invalid-domain.tsx b/packages/email/src/templates/invalid-domain.tsxindex c0220ac512..075e880740 100644--- a/packages/email/src/templates/invalid-domain.tsx+++ b/packages/email/src/templates/invalid-domain.tsx@@ -32,7 +32,7 @@ export function InvalidDomain({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-6 mt-8">+ <Section className="mt-8"><Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">diff --git a/packages/email/src/templates/links-import-errors.tsx b/packages/email/src/templates/links-import-errors.tsxindex 1fcd640f11..fb770e2128 100644--- a/packages/email/src/templates/links-import-errors.tsx+++ b/packages/email/src/templates/links-import-errors.tsx@@ -54,7 +54,7 @@ export function LinksImportErrors({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-6 mt-8">+ <Section className="mt-8"><Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">diff --git a/packages/email/src/templates/links-limit.tsx b/packages/email/src/templates/links-limit.tsxindex 4a328f6788..3c580d7cf3 100644--- a/packages/email/src/templates/links-limit.tsx+++ b/packages/email/src/templates/links-limit.tsx@@ -49,7 +49,7 @@ export function LinksLimitAlert({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-6 mt-8">+ <Section className="mt-8"><Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">diff --git a/packages/email/src/templates/login-link.tsx b/packages/email/src/templates/login-link.tsxindex ee6e2bdfbe..7f3908db71 100644--- a/packages/email/src/templates/login-link.tsx+++ b/packages/email/src/templates/login-link.tsx@@ -28,7 +28,7 @@ export function LoginLink({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-6 mt-8">+ <Section className="mt-8"><Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">diff --git a/packages/email/src/templates/new-referral-signup.tsx b/packages/email/src/templates/new-referral-signup.tsxindex ef45df0544..756c87c8c9 100644--- a/packages/email/src/templates/new-referral-signup.tsx+++ b/packages/email/src/templates/new-referral-signup.tsx@@ -37,7 +37,7 @@ export function NewReferralSignup({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-6 mt-8">+ <Section className="mt-8"><Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-lg font-medium text-black">diff --git a/packages/email/src/templates/partner-application-approved.tsx b/packages/email/src/templates/partner-application-approved.tsxindex f9e780bb27..62ea6cef55 100644--- a/packages/email/src/templates/partner-application-approved.tsx+++ b/packages/email/src/templates/partner-application-approved.tsx@@ -53,7 +53,7 @@ export function PartnerApplicationApproved({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-8 mt-6">+ <Section className="mt-8"><Imgsrc={program.logo || "https://assets.dub.co/logo.png"}height="32"diff --git a/packages/email/src/templates/partner-payout-confirmed.tsx b/packages/email/src/templates/partner-payout-confirmed.tsxindex faa954cd3f..040f7fb9d5 100644--- a/packages/email/src/templates/partner-payout-confirmed.tsx+++ b/packages/email/src/templates/partner-payout-confirmed.tsx@@ -66,7 +66,7 @@ export function PartnerPayoutConfirmed({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-8 mt-6">+ <Section className="mt-8"><Imgsrc={program.logo || "https://assets.dub.co/logo.png"}height="32"diff --git a/packages/email/src/templates/partner-payout-sent.tsx b/packages/email/src/templates/partner-payout-sent.tsxindex a37b66cf76..5b5162844e 100644--- a/packages/email/src/templates/partner-payout-sent.tsx+++ b/packages/email/src/templates/partner-payout-sent.tsx@@ -69,7 +69,7 @@ export function PartnerPayoutSent({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-8 mt-6">+ <Section className="mt-8"><Imgsrc={program.logo || "https://assets.dub.co/logo.png"}height="32"diff --git a/packages/email/src/templates/password-updated.tsx b/packages/email/src/templates/password-updated.tsxindex df698ccb84..859d184b9b 100644--- a/packages/email/src/templates/password-updated.tsx+++ b/packages/email/src/templates/password-updated.tsx@@ -27,12 +27,8 @@ export function PasswordUpdated({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-8 mt-6">- <Img- src={DUB_WORDMARK}- height="32"- alt="Dub"- />+ <Section className="mt-8">+ <Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">Password has been {verb}diff --git a/packages/email/src/templates/referral-invite.tsx b/packages/email/src/templates/referral-invite.tsxindex 01cd73a489..8bed53ba8f 100644--- a/packages/email/src/templates/referral-invite.tsx+++ b/packages/email/src/templates/referral-invite.tsx@@ -32,7 +32,7 @@ export function ReferralInvite({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-6 mt-8">+ <Section className="mt-8"><Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">diff --git a/packages/email/src/templates/reset-password-link.tsx b/packages/email/src/templates/reset-password-link.tsxindex 1f9b09fe4c..2ea02d38b2 100644--- a/packages/email/src/templates/reset-password-link.tsx+++ b/packages/email/src/templates/reset-password-link.tsx@@ -28,12 +28,8 @@ export function ResetPasswordLink({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-8 mt-6">- <Img- src={DUB_WORDMARK}- height="32"- alt="Dub"- />+ <Section className="mt-8">+ <Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">Reset password linkdiff --git a/packages/email/src/templates/upgrade-email.tsx b/packages/email/src/templates/upgrade-email.tsxindex 77fb8a3cc5..33ce8ca77d 100644--- a/packages/email/src/templates/upgrade-email.tsx+++ b/packages/email/src/templates/upgrade-email.tsx@@ -31,7 +31,7 @@ export function UpgradeEmail({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-6 mt-8">+ <Section className="mt-8"><Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">diff --git a/packages/email/src/templates/verify-email.tsx b/packages/email/src/templates/verify-email.tsxindex ee814f8dfa..0f14e37048 100644--- a/packages/email/src/templates/verify-email.tsx+++ b/packages/email/src/templates/verify-email.tsx@@ -27,7 +27,7 @@ export function VerifyEmail({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-6 mt-8">+ <Section className="mt-8"><Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">diff --git a/packages/email/src/templates/webhook-added.tsx b/packages/email/src/templates/webhook-added.tsxindex a785ad001d..728714a1ab 100644--- a/packages/email/src/templates/webhook-added.tsx+++ b/packages/email/src/templates/webhook-added.tsx@@ -40,7 +40,7 @@ export function WebhookAdded({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-6 mt-8">+ <Section className="mt-8"><Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">diff --git a/packages/email/src/templates/webhook-disabled.tsx b/packages/email/src/templates/webhook-disabled.tsxindex e4fdbe35bc..117364893a 100644--- a/packages/email/src/templates/webhook-disabled.tsx+++ b/packages/email/src/templates/webhook-disabled.tsx@@ -44,7 +44,7 @@ export default function WebhookDisabled({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-6 mt-8">+ <Section className="mt-8"><Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">diff --git a/packages/email/src/templates/webhook-failed.tsx b/packages/email/src/templates/webhook-failed.tsxindex e857c39026..e727abf68f 100644--- a/packages/email/src/templates/webhook-failed.tsx+++ b/packages/email/src/templates/webhook-failed.tsx@@ -46,7 +46,7 @@ export default function WebhookFailed({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-6 mt-8">+ <Section className="mt-8"><Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">diff --git a/packages/email/src/templates/welcome-email.tsx b/packages/email/src/templates/welcome-email.tsxindex 3ac15d9e82..0ff4ef1b31 100644--- a/packages/email/src/templates/welcome-email.tsx+++ b/packages/email/src/templates/welcome-email.tsx@@ -28,7 +28,7 @@ export function WelcomeEmail({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-6 mt-8">+ <Section className="mt-8"><Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">diff --git a/packages/email/src/templates/workspace-invite.tsx b/packages/email/src/templates/workspace-invite.tsxindex 9bcf7e8f8b..3fd7fe760f 100644--- a/packages/email/src/templates/workspace-invite.tsx+++ b/packages/email/src/templates/workspace-invite.tsx@@ -34,7 +34,7 @@ export function WorkspaceInvite({<Tailwind><Body className="mx-auto my-auto bg-white font-sans"><Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">- <Section className="mt-6 mt-8">+ <Section className="mt-8"><Img src={DUB_WORDMARK} height="32" alt="Dub" /></Section><Heading className="mx-0 my-7 p-0 text-xl font-medium text-black">