Skip to content

Commit

Permalink
turn button into anchor tag
Browse files Browse the repository at this point in the history
  • Loading branch information
fhennig authored and corneliusroemer committed Oct 3, 2024
1 parent d7554f6 commit a70c205
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions website/src/components/User/GroupPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,12 @@ const InnerGroupPage: FC<GroupPageProps> = ({
</h1>
{userIsGroupMember && (
<>
<button
<a
href={routes.editGroupPage(groupId)}
className='object-right p-2 loculusColor text-white rounded px-4 mr-2'
onClick={() => {
window.location.href = routes.editGroupPage(groupId);
}}
>
Edit group
</button>
</a>
<button
onClick={() => {
displayConfirmationDialog({
Expand Down

0 comments on commit a70c205

Please sign in to comment.