fix logout button

This commit is contained in:
Ramnique Singh 2025-06-24 16:40:01 +05:30
parent 11a3a2f357
commit 44f8088d9b

View file

@ -24,7 +24,7 @@ export function UserButton({ useBilling }: { useBilling?: boolean }) {
<DropdownMenu <DropdownMenu
onAction={(key) => { onAction={(key) => {
if (key === 'logout') { if (key === 'logout') {
router.push('/api/auth/logout'); router.push('/auth/logout');
} }
if (key === 'billing') { if (key === 'billing') {
router.push('/billing'); router.push('/billing');