diff --git a/client/src/scripts/join.js b/client/src/scripts/join.js index c1d8867..fd9afa7 100644 --- a/client/src/scripts/join.js +++ b/client/src/scripts/join.js @@ -55,7 +55,7 @@ const joinHandler = (e) => { resetJoinButtonState(e, joinHandler); }); } else { - toast('Name must be between 1 and 40 characters.', 'error', true, true, 'long'); + toast('Name must be between 1 and ' + PRIMITIVES.MAX_PERSON_NAME_LENGTH + ' characters.', 'error', true, true, 'long'); } };