Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

code improvements

Pedro Ladeira27b5d4badf0e
diff --git a/apps/web/lib/actions/partners/verify-social-account-by-code.ts b/apps/web/lib/actions/partners/verify-social-account-by-code.ts
index 4c682cb2e4..de046fb7cb 100644
--- a/apps/web/lib/actions/partners/verify-social-account-by-code.ts
+++ b/apps/web/lib/actions/partners/verify-social-account-by-code.ts
@@ -141,8 +141,8 @@ export const verifySocialAccountByCodeAction = authPartnerActionClient
if (!isValid) {
throw new Error(
- `The verification code was not found in your English ${
- platform === "youtube" ? "channel description" : "bio"
+ `The verification code was not found in your ${
+ platform === "youtube" ? "English channel description" : "bio"
}. Please add the code exactly as provided, save your changes, and try again.`,
);
}
diff --git a/apps/web/ui/modals/social-verification-by-code-modal.tsx b/apps/web/ui/modals/social-verification-by-code-modal.tsx
index a976c7c1a4..3afb5c4fe0 100644
--- a/apps/web/ui/modals/social-verification-by-code-modal.tsx
+++ b/apps/web/ui/modals/social-verification-by-code-modal.tsx
@@ -38,13 +38,13 @@ const PLATFORM_INFO: Record<
Add the 6-digit code above to your English channel description
temporarily.
{"\n\n"}
- Add to your main description if it’s in English. Otherwise, add the code
+ Add to your main description if it's in English. Otherwise, add the code
to an existing English description, or create one first.{" "}
<a
href="https://dub.co/help/article/partner-profile#youtube"
target="_blank"
rel="noopener noreferrer"
- className="underline transition-colors hover:text-content-emphasis"
+ className="hover:text-content-emphasis underline transition-colors"
>
Learn more
</a>