Skip to content

Commit

Permalink
Merge pull request #170 from aitok-ai/jinshi/hide-refer
Browse files Browse the repository at this point in the history
hide referral for Dr. Hu
  • Loading branch information
jinzishuai authored Feb 24, 2024
2 parents 547dad1 + 4fbac61 commit 8c7aeaa
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 8c7aeaa

Please sign in to comment.