+
+
+ Flow Ecosystem Newsletter{' '}
+
+
+ Stay up to date with the latest changelog updates, educational
+ resources, grants and announcements.
+
+
+ {responseMessage !== SUCCESS_MESSAGE && (
+ <>
+
{
+ setEmail(e.target.value.toLowerCase());
+ if (e.target.value === '') {
+ setErrorMsg('Please enter your email');
+ }
+ if (isValidEmail(email)) setErrorMsg('');
+ }}
+ onBlur={(e) => {
+ if (e.target.value === '') {
+ setErrorMsg('');
+ return;
+ }
+ setErrorMsg(
+ isValidEmail(email) ? '' : 'Please enter a valid email',
+ );
+ }}
+ />
+
+ >
+ )}
+ {errorMsg !== '' && (
+
{errorMsg}
+ )}
+ {errorMsg === '' && (
+
+ {SUCCESS_MESSAGE}
+
+ )}
+