Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Simplify call
  • Loading branch information
BrunoQuaresma committed Sep 12, 2023
commit 06d55feae518ffd95348da9b6cab1d07ec99789c
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ export const SSHKeysPage: FC<PropsWithChildren<unknown>> = () => {
confirmLoading={regenerateSSHKeyMutation.isLoading}
title={Language.regenerateDialogTitle}
confirmText={Language.confirmLabel}
onConfirm={() => {
regenerateSSHKeyMutation.mutate();
}}
onConfirm={regenerateSSHKeyMutation.mutate}
onClose={() => {
setIsConfirmingRegeneration(false);
}}
Expand Down