mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-25 18:55:19 +02:00
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
|
<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');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue