remove instance practice send
This commit is contained in:
parent
8bf6f714fd
commit
6a7c2ab0d3
@ -107,7 +107,6 @@ function registerEvents(store) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function setAuthenticated(account) {
|
function setAuthenticated(account) {
|
||||||
|
|
||||||
if (account && window.Notification) {
|
if (account && window.Notification) {
|
||||||
window.Notification.requestPermission();
|
window.Notification.requestPermission();
|
||||||
}
|
}
|
||||||
@ -116,9 +115,6 @@ function registerEvents(store) {
|
|||||||
LogRocket.identify(account.id, account);
|
LogRocket.identify(account.id, account);
|
||||||
}
|
}
|
||||||
|
|
||||||
const { tutorial, ws } = store.getState();
|
|
||||||
if (tutorial) ws.sendInstancePractice();
|
|
||||||
|
|
||||||
store.dispatch(actions.setAccount(account));
|
store.dispatch(actions.setAccount(account));
|
||||||
store.dispatch(actions.setAuthenticated(true));
|
store.dispatch(actions.setAuthenticated(true));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user