Skip to content

Commit

Permalink
switch sign out button to LinkCustom
Browse files Browse the repository at this point in the history
  • Loading branch information
kepsteen committed Oct 29, 2024
1 parent 52f9cb4 commit 8ba358e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions components/AdminUserSettings/AdminUserSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ export const AdminUserSettings = (): JSX.Element => {
</LinkCustom>
</DropdownMenuItem>
<DropdownMenuItem className="cursor-pointer rounded-none focus:bg-muted">
<Button
<LinkCustom
href="/account/logout"
className="w-full text-base no-underline py-2 px-0 h-auto text-muted-foreground hover:text-foreground font-normal justify-normal hover:underline"
variant="link"
label="Sign Out"
onClick={handleLogout}
data-testid="sign-out-button"
/>
data-testid="sign-out-link"
>
Sign Out
</LinkCustom>
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
Expand Down

0 comments on commit 8ba358e

Please sign in to comment.