Skip to content

Commit d1b6111

Browse files
committed
add icon to sign out menu item
1 parent 2eaa157 commit d1b6111

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { LogOut } from "lucide-react";
12
import { DropdownMenuItem } from "@/components/ui/dropdown-menu";
23
import { signOut } from "@/lib/auth/auth-client";
34

@@ -6,5 +7,10 @@ export function SignOutMenuItem() {
67
await signOut();
78
};
89

9-
return <DropdownMenuItem onSelect={handleSignOut}>Sign out</DropdownMenuItem>;
10+
return (
11+
<DropdownMenuItem onSelect={handleSignOut}>
12+
<LogOut />
13+
Sign out
14+
</DropdownMenuItem>
15+
);
1016
}

0 commit comments

Comments
 (0)