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.

fix isue

Steven Tey7439a7003e49
diff --git a/apps/web/lib/zod/schemas/workspaces.ts b/apps/web/lib/zod/schemas/workspaces.ts
index 45f53d1975..bb699696e8 100644
--- a/apps/web/lib/zod/schemas/workspaces.ts
+++ b/apps/web/lib/zod/schemas/workspaces.ts
@@ -59,6 +59,7 @@ export const WorkspaceSchema = z
DomainSchema.pick({
slug: true,
primary: true,
+ verified: true,
}),
)
.describe("The domains of the workspace."),
diff --git a/apps/web/ui/workspaces/workspace-card.tsx b/apps/web/ui/workspaces/workspace-card.tsx
index b81d9b4fe1..e86a4a4c2c 100644
--- a/apps/web/ui/workspaces/workspace-card.tsx
+++ b/apps/web/ui/workspaces/workspace-card.tsx
@@ -38,6 +38,8 @@ export default function WorkspaceCard({
fetcher,
);
+ console.log({ domains });
+
const { user } = useUser();
const isMigratedWorkspace = user?.migratedWorkspace === id;