From cf696fefc76a869edccf8ca09adf5da03471069b Mon Sep 17 00:00:00 2001 From: Jeremie Pardou-Piquemal <571533+jrmi@users.noreply.github.com> Date: Sat, 13 Jun 2020 15:24:00 +0200 Subject: [PATCH] Remove test line --- client/src/components/Settings/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/client/src/components/Settings/index.js b/client/src/components/Settings/index.js index a21c643..4dccfb6 100644 --- a/client/src/components/Settings/index.js +++ b/client/src/components/Settings/index.js @@ -12,7 +12,6 @@ class Settings extends Component { handleNotificationToggle() { Notification.requestPermission().then(permission => { - this.props.toggleNotificationEnabled(true); if (permission === 'granted') { this.props.toggleNotificationEnabled(!this.props.notificationIsEnabled); this.props.toggleNotificationAllowed(true);