'use client'

import { logout } from '@/actions/logout'

const CabinetPage = ({ params }: any) => {

  const btnOnClick = () => logout()

  return (
    <div className="bg-neutral-100 p-10">
      <button onClick={btnOnClick} type="submit">SignOut</button>
    </div>
  )
}

export default CabinetPage
