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.

small tweaks

Steven Tey3beb39de677b
diff --git a/apps/web/app/protected/[domain]/[key]/form.tsx b/apps/web/app/protected/[domain]/[key]/form.tsx
index 12222eb926..03d5bdad42 100644
--- a/apps/web/app/protected/[domain]/[key]/form.tsx
+++ b/apps/web/app/protected/[domain]/[key]/form.tsx
@@ -22,7 +22,7 @@ export default function PasswordForm() {
data-testid="password-form"
action={(data) =>
verifyPassword(data).then((res) => {
- if (res.error) {
+ if (res?.error) {
setError(true);
toast.error(res.error);
}
diff --git a/packages/utils/src/constants/countries.ts b/packages/utils/src/constants/countries.ts
index bfedee0579..73ec955ee8 100644
--- a/packages/utils/src/constants/countries.ts
+++ b/packages/utils/src/constants/countries.ts
@@ -214,7 +214,7 @@ export const COUNTRIES: { [key: string]: string } = {
TO: "Tonga",
TT: "Trinidad and Tobago",
TN: "Tunisia",
- TR: "Türkiye",
+ TR: "Turkey",
TM: "Turkmenistan",
TC: "Turks and Caicos Islands",
TV: "Tuvalu",