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.

Quick fixes

Tim Wilsonb004e29fbdbe
diff --git a/apps/web/lib/zod/schemas/partners.ts b/apps/web/lib/zod/schemas/partners.ts
index ae723b3953..69b82c9f0c 100644
--- a/apps/web/lib/zod/schemas/partners.ts
+++ b/apps/web/lib/zod/schemas/partners.ts
@@ -245,6 +245,7 @@ export const MAX_PARTNER_INDUSTRY_INTERESTS = 8;
export const PartnerProfileSchema = z.object({
monthlyTraffic: z
.nativeEnum(MonthlyTraffic)
+ .nullable()
.describe("The partner's monthly traffic."),
industryInterests: z
.array(z.nativeEnum(IndustryInterest))
diff --git a/packages/ui/src/hooks/use-scroll-progress.ts b/packages/ui/src/hooks/use-scroll-progress.ts
index 894abf13e0..b45fcdb05f 100644
--- a/packages/ui/src/hooks/use-scroll-progress.ts
+++ b/packages/ui/src/hooks/use-scroll-progress.ts
@@ -10,7 +10,6 @@ export function useScrollProgress(
const [scrollProgress, setScrollProgress] = useState(1);
const updateScrollProgress = useCallback(() => {
- console.log("updateScrollProgress", ref.current);
if (!ref.current) return;
const scroll =
direction === "vertical" ? ref.current.scrollTop : ref.current.scrollLeft;