always go to logrocket
This commit is contained in:
parent
443b3bb3ac
commit
69c964510c
@ -33,6 +33,10 @@ const ws = createSocket(events);
|
|||||||
ws.connect();
|
ws.connect();
|
||||||
events.setWs(ws);
|
events.setWs(ws);
|
||||||
|
|
||||||
|
if (process.env.NODE_ENV !== 'development') {
|
||||||
|
LogRocket.init('yh0dy3/mnml');
|
||||||
|
}
|
||||||
|
|
||||||
const App = () => (
|
const App = () => (
|
||||||
<Provider store={store}>
|
<Provider store={store}>
|
||||||
{window.Stripe
|
{window.Stripe
|
||||||
|
|||||||
@ -106,13 +106,12 @@ function registerEvents(store) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function setAccount(account) {
|
function setAccount(account) {
|
||||||
if (account && process.env.NODE_ENV !== 'development') {
|
if (account && window.Notification) {
|
||||||
LogRocket.init('yh0dy3/mnml');
|
window.Notification.requestPermission();
|
||||||
LogRocket.identify(account.id, account);
|
}
|
||||||
|
|
||||||
if (window.Notification) {
|
if (process.env.NODE_ENV !== 'development') {
|
||||||
window.Notification.requestPermission();
|
LogRocket.identify(account.id, account);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
store.dispatch(actions.setAccount(account));
|
store.dispatch(actions.setAccount(account));
|
||||||
|
|||||||
@ -1,3 +1,2 @@
|
|||||||
# FIXME
|
# FIXME
|
||||||
game ready not auto starting resolve phase
|
game ready not auto starting resolve phase
|
||||||
triaged / decayed / siphoned / electrocute effect removal with purify / purge
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user