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

Commit 8ccf4bd

Browse files
Update warning text
1 parent 3fc782f commit 8ccf4bd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

client/src/components/AddToGroupModal/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ export default function AddToGroupModal({ onCancel, updateUser, user }) {
124124
return;
125125
}
126126
if (groupName.length < 3) {
127-
alert("Group Name length must be atleast 3 character");
127+
alert("Group name must be more than three characters");
128128
return;
129129
}
130130
if (groupName.length > 150) {
131-
alert("Group Name length exceeds 150 characters");
131+
alert("Group name cannot exceed 150 characters");
132132
return;
133133
}
134134

client/src/components/GroupsSideMenu/filters.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ export default function GroupTabFilters({
5353
return;
5454
}
5555
if (groupName.length < 3) {
56-
alert("Group Name length must be atleast 3 character");
56+
alert("Group name must be more than three characters");
5757
return;
5858
}
5959
if (groupName.length > 150) {
60-
alert("Group Name length exceeds 150 characters");
60+
alert("Group name cannot exceed 150 characters");
6161
return;
6262
}
6363

0 commit comments

Comments
 (0)