Update ShortcutsSection.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Nic Luckie <nicolasluckie@users.noreply.github.com>
This commit is contained in:
Nic Luckie 2025-09-25 11:04:39 -04:00 committed by GitHub
parent 8f7fdca17b
commit 1684b78cd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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