Skip to content

Commit

Permalink
Show login form when clicked on login button
Browse files Browse the repository at this point in the history
  • Loading branch information
harishmohanraj committed Apr 10, 2024
1 parent 8016528 commit 04234a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/client/components/AppNavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import logo from '../static/logo.png';
import DropdownUser from './DropdownUser';
import { UserMenuItems } from '../components/UserMenuItems';
import FreeTrialButton from '../components/FreeTrialButton';
import UserActionButton from '../components/UserActionButton';

import { navigation } from '../landing-page/contentSections';

Expand Down Expand Up @@ -63,7 +64,7 @@ export default function AppNavBar() {
<div className='hidden lg:flex lg:flex-1 gap-3 justify-end items-center'>
<ul className='flex justify-center items-center gap-2 sm:gap-4'>
{/* <DarkModeSwitcher /> */}
{!user?.hasPaid && <FreeTrialButton />}
<UserActionButton user={user} renderGoToChat={false} />
</ul>

{isUserLoading ? null : !user ? (
Expand Down

0 comments on commit 04234a7

Please sign in to comment.