mirror of https://github.com/usememos/memos.git
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:
parent
8f7fdca17b
commit
1684b78cd3
|
|
@ -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…
Reference in New Issue