Joe gripes

This commit is contained in:
A Arroyo 2020-02-05 17:23:40 -08:00
parent 260ad31468
commit 671d3ad7e8

View File

@ -35,7 +35,7 @@ export class NewScreen extends Component {
onClickCreate() { onClickCreate() {
const { props, state } = this; const { props, state } = this;
let validChar = new RegExp(/^[a-z0-9~_.-]*$/); let validChar = /^[a-z0-9~_.-]*$/;
if ( if (
(!state.groupName) || (!validChar.test(state.groupName)) (!state.groupName) || (!validChar.test(state.groupName))