Hardcode email notifications in UI to false
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user