File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
1
import Link from "next/link" ;
2
2
import { Input } from "@/components/ui/input" ;
3
- import { Flame , LogOut } from "lucide-react" ;
4
- import { Button } from "@/components/ui/button" ;
3
+ import { Flame } from "lucide-react" ;
5
4
import UserAvatar from "@/components/UserAvatar" ;
5
+ import LogoutButton from "./LogoutButton" ;
6
6
7
7
export default function Navbar ( ) {
8
8
const links : NavLinkProps [ ] = [ { label : "Dashboard" , href : "/dashboard" } ] ;
@@ -73,9 +73,7 @@ function NavUserDetails() {
73
73
/>
74
74
< small className = "whitespace-nowrap" > 10 days</ small >
75
75
< UserAvatar src = { "https://nonexistent-link" } name = "Jm San Diego" />
76
- < Button variant = "ghost" className = "p-2" >
77
- < LogOut size = { 20 } />
78
- </ Button >
76
+ < LogoutButton />
79
77
</ div >
80
78
) ;
81
79
}
You can’t perform that action at this time.
0 commit comments