The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update refer-button.tsx
Steven Tey34d18e1d9038
diff --git a/apps/web/ui/layout/sidebar/refer-button.tsx b/apps/web/ui/layout/sidebar/refer-button.tsxindex 61c1cff260..41b7147000 100644--- a/apps/web/ui/layout/sidebar/refer-button.tsx+++ b/apps/web/ui/layout/sidebar/refer-button.tsx@@ -2,15 +2,8 @@import { Gift } from "@dub/ui/icons";import Link from "next/link";-import { usePathname } from "next/navigation";export function ReferButton() {- const pathname = usePathname();-- if (pathname === "/account/settings/referrals") {- return null;- }-return (<Linkhref="/account/settings/referrals"