fix logout button
This commit is contained in:
parent
11a3a2f357
commit
44f8088d9b
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ export function UserButton({ useBilling }: { useBilling?: boolean }) {
|
|||
<DropdownMenu
|
||||
onAction={(key) => {
|
||||
if (key === 'logout') {
|
||||
router.push('/api/auth/logout');
|
||||
router.push('/auth/logout');
|
||||
}
|
||||
if (key === 'billing') {
|
||||
router.push('/billing');
|
||||
|
|
|
|||
Loading…
Reference in a new issue