All checks were successful
Build and Push Nightly CI Image / build_and_push (push) Successful in 1m47s
Build and Push Docker Image / build_and_push (push) Successful in 3s
20 lines
474 B
TypeScript
20 lines
474 B
TypeScript
"use client";
|
|
|
|
import { SidebarMenuButton, SidebarMenuItem } from "@/components/ui/sidebar";
|
|
import { DoorOpen } from "lucide-react";
|
|
import { logout } from "@/actions/logout";
|
|
|
|
export function SidebarSignOut() {
|
|
return (
|
|
<SidebarMenuItem>
|
|
<form action={logout}>
|
|
<SidebarMenuButton type="submit">
|
|
<DoorOpen />
|
|
<span>Logout</span>
|
|
</SidebarMenuButton>
|
|
</form>
|
|
</SidebarMenuItem>
|
|
);
|
|
}
|
|
|
|
export default SidebarSignOut; |