Skip to content

Commit b4853db

Browse files
committed
Fix logout button
1 parent 1f1208b commit b4853db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/component-library/pages/legacy/Layout/AccountDropdown.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export const AccountDropdown = forwardRef(function AccountDropdown(
120120
<div className={twMerge('bg-neutral-200 hover:bg-base-warning-600', 'p-1', 'rounded-md')}>
121121
{/* Using the <a> tag here prevents a bug with response caching */}
122122
{/* eslint-disable-next-line @next/next/no-html-link-for-pages */}
123-
<a href="/src/pages/api/auth/logout?callbackUrl=/dashboard">
123+
<a href="/api/auth/logout?callbackUrl=/dashboard">
124124
<HiLogout className="text-2xl text-text-900 shrink-0" />
125125
</a>
126126
</div>

0 commit comments

Comments
 (0)