The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
missed a spot
Steven Tey02ce60ab039f
diff --git a/apps/web/ui/layout/sidebar/refer-button.tsx b/apps/web/ui/layout/sidebar/refer-button.tsxindex 65178e15d0..8ab770bfb6 100644--- a/apps/web/ui/layout/sidebar/refer-button.tsx+++ b/apps/web/ui/layout/sidebar/refer-button.tsx@@ -8,7 +8,7 @@ import { usePathname } from "next/navigation";export function ReferButton() {const pathname = usePathname();- if (pathname === "/account/settings/referrals" && !SHOW_EMBEEDED_REFERRALS) {+ if (pathname === "/account/settings/referrals" || !SHOW_EMBEEDED_REFERRALS) {return null;}