Skip to content

Commit

Permalink
remove separator
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshj01 committed Oct 6, 2024
1 parent 6fef562 commit 7430bca
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/app/(main)/_components/LoginMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as React from 'react';
import { FaBug, FaGithub, FaGoogle, FaWpexplorer } from "react-icons/fa";
import useSettings from '../_hooks/useSettings';
import { useSidebar } from '../_hooks/useSidebar';
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger } from './dropdown-menu';
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuShortcut, DropdownMenuTrigger } from './dropdown-menu';

interface LoginMenuProps {
onLogOut: () => void;
Expand Down Expand Up @@ -55,7 +55,6 @@ const LoginMenu: React.FC<LoginMenuProps> = ({ onLogOut, onLogin, loading, onSet
<FaGithub className='size-4 text-black dark:text-white' />
<span>Settings</span>
</DropdownMenuItem> */}
<DropdownMenuSeparator />
<DropdownMenuItem className="space-x-2 cursor-pointer" onClick={() => {
window.open(process.env.NEXT_PUBLIC_GITHUB_REPO ?? '', '_blank');
}}>
Expand All @@ -68,15 +67,13 @@ const LoginMenu: React.FC<LoginMenuProps> = ({ onLogOut, onLogin, loading, onSet
<FaBug className='size-4 text-black dark:text-white' />
<span>Report a Bug</span>
</DropdownMenuItem>
<DropdownMenuSeparator />
<DropdownMenuItem className="space-x-2 cursor-pointer" onClick={async () => {
setNewUser(true);
router.push('/');
}}>
<FaWpexplorer className='size-4 text-black dark:text-white' />
<span>Take a Tour</span>
</DropdownMenuItem>
<DropdownMenuSeparator />
<DropdownMenuItem className='space-x-2 cursor-pointer' onClick={onLogOut}>
<ExitIcon />
<span>Log out</span>
Expand Down

0 comments on commit 7430bca

Please sign in to comment.