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.

fixed more ts errors

Steven Tey1d5efdcfdc14
diff --git a/apps/web/lib/types.ts b/apps/web/lib/types.ts
index f7b2487783..15be19d38c 100644
--- a/apps/web/lib/types.ts
+++ b/apps/web/lib/types.ts
@@ -67,7 +67,7 @@ export interface ProjectProps {
role: "owner" | "member";
}[];
metadata?: {
- defaultDomains: string[];
+ defaultDomains?: string[];
};
}
diff --git a/apps/web/ui/layout/project-select.tsx b/apps/web/ui/layout/project-select.tsx
index 02c13ce2bc..88368d54df 100644
--- a/apps/web/ui/layout/project-select.tsx
+++ b/apps/web/ui/layout/project-select.tsx
@@ -3,7 +3,7 @@
import { PlanProps, ProjectWithDomainProps } from "@/lib/types";
import { ModalContext } from "@/ui/modals/provider";
import PlanBadge from "@/ui/projects/plan-badge";
-import { Avatar, Popover, Tick } from "@dub/ui";
+import { Popover, Tick } from "@dub/ui";
import { GOOGLE_FAVICON_URL } from "@dub/utils";
import { ChevronsUpDown, PlusCircle } from "lucide-react";
import { useSession } from "next-auth/react";