always go to logrocket

This commit is contained in:
ntr 2019-12-20 13:11:44 +10:00
parent 443b3bb3ac
commit 69c964510c
3 changed files with 9 additions and 7 deletions

View File

@ -33,6 +33,10 @@ const ws = createSocket(events);
ws.connect();
events.setWs(ws);
if (process.env.NODE_ENV !== 'development') {
LogRocket.init('yh0dy3/mnml');
}
const App = () => (
<Provider store={store}>
{window.Stripe

View File

@ -106,13 +106,12 @@ function registerEvents(store) {
}
function setAccount(account) {
if (account && process.env.NODE_ENV !== 'development') {
LogRocket.init('yh0dy3/mnml');
LogRocket.identify(account.id, account);
if (account && window.Notification) {
window.Notification.requestPermission();
}
if (window.Notification) {
window.Notification.requestPermission();
}
if (process.env.NODE_ENV !== 'development') {
LogRocket.identify(account.id, account);
}
store.dispatch(actions.setAccount(account));

View File

@ -1,3 +1,2 @@
# FIXME
game ready not auto starting resolve phase
triaged / decayed / siphoned / electrocute effect removal with purify / purge