Skip to content

Commit

Permalink
add close button
Browse files Browse the repository at this point in the history
  • Loading branch information
vikibrezinova committed Nov 12, 2023
1 parent 3a395fd commit a6bcbd6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/components/Profile/PasswordChangeForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,12 @@ export const PasswordChangeDialog: FC<PasswordChangeDialogProps> = ({open, close
</form>
}
actions={
<Button type="submit" onClick={handleSubmit(onSubmit)}>
Potvrdiť
</Button>
<>
<Button type="submit" onClick={handleSubmit(onSubmit)}>
Potvrdiť
</Button>
<Button onClick={close}>Zavrieť</Button>
</>
}
/>
)
Expand Down

0 comments on commit a6bcbd6

Please sign in to comment.