'use client' import { logout } from '@/actions/logout' interface LogoutButtonProps { children?: React.ReactNode } const LogoutButton = ({ children }: LogoutButtonProps) => { const onClick = () => logout() return ( {children} ) } export default LogoutButton