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
|
<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}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue