17 lines
302 B
TypeScript
17 lines
302 B
TypeScript
'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
|