Skip to content

Commit

Permalink
activate leave button
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoalzate committed Jun 21, 2024
1 parent fd0d1bc commit e64b314
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 e64b314

Please sign in to comment.