mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
another magic number
This commit is contained in:
@@ -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');
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user