From 44f8088d9b5850f32809058a4bbeb45345fce4ad Mon Sep 17 00:00:00 2001 From: Ramnique Singh <30795890+ramnique@users.noreply.github.com> Date: Tue, 24 Jun 2025 16:40:01 +0530 Subject: [PATCH] fix logout button --- apps/rowboat/app/lib/components/user_button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/rowboat/app/lib/components/user_button.tsx b/apps/rowboat/app/lib/components/user_button.tsx index 69527d08..e612492f 100644 --- a/apps/rowboat/app/lib/components/user_button.tsx +++ b/apps/rowboat/app/lib/components/user_button.tsx @@ -24,7 +24,7 @@ export function UserButton({ useBilling }: { useBilling?: boolean }) { { if (key === 'logout') { - router.push('/api/auth/logout'); + router.push('/auth/logout'); } if (key === 'billing') { router.push('/billing');