another magic number

This commit is contained in:
AlecM33
2023-08-14 17:47:26 -04:00
parent f90668b598
commit 94d87cb39e

View File

@@ -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');
}
};