storj/web/satellite/src/utils/validation.ts
Nikolay Yurchenko 312fd5a5fd
[V3-963] Satellite team members add dialog (#935)
* Implemented team member add dialog without api.

* logic changed according to api

* added initial app reducer and team members deletion fixed
2018-12-26 17:05:33 +02:00

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