File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11"use client" ;
22
3+ import * as sessionActions from "@/backend/services/session.actions" ;
34import { useTranslation } from "@/i18n/use-translation" ;
45import { useSession } from "@/store/session.atom" ;
6+ import Link from "next/link" ;
57import { useAppConfirm } from "../app-confirm" ;
6- import * as sessionActions from "@/backend/services/session.actions " ;
8+ import { Avatar , AvatarFallback , AvatarImage } from "../ui/avatar " ;
79import {
810 DropdownMenu ,
911 DropdownMenuContent ,
1012 DropdownMenuItem ,
1113 DropdownMenuTrigger ,
1214} from "../ui/dropdown-menu" ;
13- import { Avatar , AvatarFallback , AvatarImage } from "../ui/avatar" ;
14- import Link from "next/link" ;
1515
1616const AuthenticatedUserMenu = ( ) => {
1717 const { _t } = useTranslation ( ) ;
@@ -62,16 +62,16 @@ const AuthenticatedUserMenu = () => {
6262 { _t ( "Bookmarks" ) }
6363 </ Link >
6464 </ DropdownMenuItem >
65- < DropdownMenuItem >
65+ < DropdownMenuItem asChild >
6666 < Link
67- className = "text-foreground cursor-pointer block "
67+ className = "text-foreground cursor-pointer"
6868 href = "/dashboard/settings"
6969 >
7070 { _t ( "Settings" ) }
7171 </ Link >
7272 </ DropdownMenuItem >
7373 < DropdownMenuItem
74- className = "cursor-pointer block"
74+ className = "cursor-pointer block hover:underline "
7575 onClick = { handleLogout }
7676 >
7777 { _t ( "Logout" ) }
You can’t perform that action at this time.
0 commit comments