Update ShortcutsSection.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Nic Luckie <nicolasluckie@users.noreply.github.com>
pull/5111/head
Nic Luckie 3 weeks ago committed by GitHub
parent 8f7fdca17b
commit 1684b78cd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -123,7 +123,7 @@ const ShortcutsSection = observer(() => {
<ConfirmDialog
open={!!deleteTarget}
onOpenChange={(open) => !open && setDeleteTarget(undefined)}
title={t("setting.shortcut.delete-confirm")}
title={t("setting.shortcut.delete-confirm", { title: deleteTarget?.title ?? "" })}
confirmLabel={t("common.delete")}
cancelLabel={t("common.cancel")}
onConfirm={confirmDeleteShortcut}

Loading…
Cancel
Save