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] = const [browserPushPermissionsPending, setBrowserPushPermissionsPending] =
useState(false); useState(false);
const { browser, email } = notifications; const { browser } = notifications;
const { publicKey } = browser; const { publicKey } = browser;
const browserPushEnabled = browser.enabled && isPushNotificationSupported(); const browserPushEnabled = browser.enabled && isPushNotificationSupported();
let emailEnabled = email.enabled; let emailEnabled = false;
// Store that the user has opened the notifications modal at least once // 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. // so we don't ever need to remind them to do it again.