Skip to content

Commit

Permalink
hide referral for Dr. Hu
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzishuai committed Feb 24, 2024
1 parent 547dad1 commit 4fbac61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/components/Nav/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ export default function Nav({ navVisible, setNavVisible }) {
text={localize('com_ui_referrals_leaderboard')}
clickHandler={user ? openLeaderboardHandler : navigateToRegister}
/>
{window.location.hostname !== "drhu.aitok.ai" && (
<NavLink
className="flex w-full cursor-pointer items-center gap-3 rounded-none px-3 py-3 text-sm text-white transition-colors duration-200 hover:bg-gray-700"
svg={() => (copied ? <CheckMark /> : <Clipboard />)}
Expand All @@ -324,7 +325,7 @@ export default function Nav({ navVisible, setNavVisible }) {
}
clickHandler={user ? copyLinkHandler : navigateToRegister}
/>
<NavLinks />
)}
</nav>
</div>
</div>
Expand Down

0 comments on commit 4fbac61

Please sign in to comment.