Skip to content

Commit

Permalink
Close create team modal
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Jun 7, 2024
1 parent d25c9b5 commit 9ff3f72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/dashboard/src/components/modals/create-team-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ export function CreateTeamModal({ onOpenChange }: Props) {

<DialogFooter>
<div className="space-x-4">
<Button variant="outline">Cancel</Button>
<Button variant="outline" onClick={() => onOpenChange(false)}>
Cancel
</Button>
<Button
disabled={createTeam.status === "executing"}
onClick={() => createTeam.execute({ name })}
Expand Down

0 comments on commit 9ff3f72

Please sign in to comment.