From 6a7c2ab0d3c86438cd991f95e8a6455b5c9c5e83 Mon Sep 17 00:00:00 2001 From: ntr Date: Fri, 17 Jan 2020 17:11:36 +1000 Subject: [PATCH] remove instance practice send --- client/src/events.jsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/client/src/events.jsx b/client/src/events.jsx index 83c9982d..3d5ddd83 100644 --- a/client/src/events.jsx +++ b/client/src/events.jsx @@ -107,7 +107,6 @@ function registerEvents(store) { } function setAuthenticated(account) { - if (account && window.Notification) { window.Notification.requestPermission(); } @@ -116,9 +115,6 @@ function registerEvents(store) { LogRocket.identify(account.id, account); } - const { tutorial, ws } = store.getState(); - if (tutorial) ws.sendInstancePractice(); - store.dispatch(actions.setAccount(account)); store.dispatch(actions.setAuthenticated(true)); }