chore: update toast style

This commit is contained in:
Steven
2022-11-13 10:29:17 +08:00
parent ca9590a49b
commit 9036dd1a95
4 changed files with 5 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ const ShortcutListView: React.FC<Props> = (props: Props) => {
showCommonDialog({
title: "Delete Shortcut",
content: `Are you sure to delete shortcut \`${shortcut.name}\` in this workspace?`,
style: "warning",
style: "danger",
onConfirm: async () => {
await shortcutService.deleteShortcutById(shortcut.id);
},