Hardcode email notifications in UI to false

This commit is contained in:
Gabe Kangas
2022-03-21 13:42:59 -07:00
parent 7d02bd7dbf
commit 3004432666

View File

@@ -30,11 +30,11 @@ export function NotifyModal({ notifications, streamName, accessToken }) {
const [browserPushPermissionsPending, setBrowserPushPermissionsPending] =
useState(false);
const { browser, email } = notifications;
const { browser } = notifications;
const { publicKey } = browser;
const browserPushEnabled = browser.enabled && isPushNotificationSupported();
let emailEnabled = email.enabled;
let emailEnabled = false;
// Store that the user has opened the notifications modal at least once
// so we don't ever need to remind them to do it again.