mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-18 10:49:02 +00:00
Remove test line
This commit is contained in:
parent
d88fcbdc33
commit
cf696fefc7
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user