Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 8d0f119

Browse files
#21 - Prompt user to enter group name
1 parent 5fe9f79 commit 8d0f119

File tree

1 file changed

+1
-0
lines changed
  • client/src/components/AddToGroupModal

1 file changed

+1
-0
lines changed

client/src/components/AddToGroupModal/index.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export default function AddToGroupModal({ onCancel, updateUser, user }) {
102102
*/
103103
const createGroup = async () => {
104104
if (filter.length === 0) {
105+
alert("Enter a group name");
105106
return;
106107
}
107108

0 commit comments

Comments
 (0)