diff --git a/frontend/web/src/components/CreateCollectionDialog.tsx b/frontend/web/src/components/CreateCollectionDialog.tsx index c0cea77..932ac3b 100644 --- a/frontend/web/src/components/CreateCollectionDialog.tsx +++ b/frontend/web/src/components/CreateCollectionDialog.tsx @@ -104,6 +104,10 @@ const CreateCollectionDialog: React.FC = (props: Props) => { toast.error("Please fill in required fields."); return; } + if (selectedShortcuts.length === 0) { + toast.error("Please select at least one shortcut."); + return; + } try { if (!isCreating) {