JSFiddle - React, Tailwind, and code Playground

by kneidels

JavaScript

let email = '[email protected]'

if (email === false || email == 0 || email.includes("@trustedhouse.com")) {
        email = null;
      } else {
        email = decodeURIComponent(email);
      }

alert (email);