chore: add empty view

This commit is contained in:
Steven
2023-06-26 20:50:37 +08:00
parent 691b40c968
commit d46df916cf
2 changed files with 11 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ const ShortcutView = (props: Props) => {
const handleDeleteShortcutButtonClick = (shortcut: Shortcut) => {
showCommonDialog({
title: "Delete Shortcut",
content: `Are you sure to delete shortcut \`${shortcut.name}\` in this workspace?`,
content: `Are you sure to delete shortcut \`${shortcut.name}\`? You can not undo this action.`,
style: "danger",
onConfirm: async () => {
await shortcutService.deleteShortcutById(shortcut.id);