Skip to content

Commit

Permalink
Suppress a linter warning about using the <a> tag
Browse files Browse the repository at this point in the history
  • Loading branch information
MytsV committed Aug 9, 2024
1 parent 60ea6bd commit b03eec6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/component-library/Pages/Layout/AccountDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ export const AccountDropdown = forwardRef(function AccountDropdown
"rounded-md"
)}
>
{/* Using the <a> tag here prevents a bug with response caching */}
{/* eslint-disable-next-line @next/next/no-html-link-for-pages */}
<a href="/api/auth/logout?callbackUrl=/dashboard">
<HiLogout className="text-2xl text-text-900 shrink-0"/>
</a>
Expand Down

0 comments on commit b03eec6

Please sign in to comment.