Skip to content

Commit

Permalink
activate leave button (#614)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoalzate authored Jun 21, 2024
1 parent fd0d1bc commit e924f92
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,7 @@ function GroupCard({ userToGroup, theme, onLeaveGroup }: GroupCardProps) {
<Body>No secret</Body>
)}
<Dialog
trigger={
<Button disabled $alignSelf="flex-start">
Leave
</Button>
}
trigger={<Button $alignSelf="flex-start">Leave</Button>}
title="Are you sure?"
description={`This action cannot be undone. This will remove you from group ${userToGroup.group.name}.`}
onActionClick={() => onLeaveGroup(userToGroup.id)}
Expand Down

0 comments on commit e924f92

Please sign in to comment.