312fd5a5fd
* Implemented team member add dialog without api. * logic changed according to api * added initial app reducer and team members deletion fixed
9 lines
198 B
TypeScript
9 lines
198 B
TypeScript
// Copyright (C) 2018 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
export function validateEmail(email: string) : boolean {
|
|
const rgx = /.*@.*\..*$/;
|
|
|
|
return rgx.test(email);
|
|
}
|